Re: [PATCH] Run hook_reset_transaction after all connections

2009-03-06 Thread Jared Johnson
Shouldn't there be something similar in Qpsmtpd::PollServer? (Or maybe put it in Qpsmtpd::SMTP to avoid the duplication). I'm not very versed on async but after staring at the code for the drive into work, I *think* this is what is needed for PollServer: --- a/lib/Qpsmtpd/PollServer.pm +++

Re: [PATCH] Run hook_reset_transaction after all connections

2009-03-05 Thread Ask Bjørn Hansen
On Mar 5, 2009, at 22:06, jaredj wrote: This makes hook_reset_transaction a bit more useful by running it on disconnections. It also ensures that hook_disconnect runs when the client disconnects without QUITing. --- lib/Qpsmtpd/SMTP.pm |1 + lib/Qpsmtpd/TcpServer.pm |

[PATCH] Run hook_reset_transaction after all connections

2009-03-05 Thread jaredj
This makes hook_reset_transaction a bit more useful by running it on disconnections. It also ensures that hook_disconnect runs when the client disconnects without QUITing. --- lib/Qpsmtpd/SMTP.pm |1 + lib/Qpsmtpd/TcpServer.pm |4 lib/Qpsmtpd/TcpServer/Prefork.pm