diff --git a/docs/plugins.pod b/docs/plugins.pod index 4bba696..6413e56 100644 --- a/docs/plugins.pod +++ b/docs/plugins.pod @@ -904,8 +904,6 @@ FIXME: we should run this hook on a ``SIGHUP'' or some other signal? =pod -B This hook does not work in Apache currently. - The only argument is C<$self> and all return codes are ignored, it would be too late anyway :-). diff --git a/lib/Apache/Qpsmtpd.pm b/lib/Apache/Qpsmtpd.pm index 1585462..0433324 100644 --- a/lib/Apache/Qpsmtpd.pm +++ b/lib/Apache/Qpsmtpd.pm @@ -34,6 +34,8 @@ sub handler { ); $qpsmtpd->run($c); + $qpsmtpd->run_hooks("post-connection"); + $qpsmtpd->connection->reset; return Apache2::Const::OK; }