Author: vetinari
Date: Mon May 12 08:33:28 2008
New Revision: 902
Modified:
trunk/docs/plugins.pod
trunk/lib/Apache/Qpsmtpd.pm
Log:
apache: add post-connection hook, connection->reset
Modified: trunk/docs/plugins.pod
==============================================================================
--- trunk/docs/plugins.pod (original)
+++ trunk/docs/plugins.pod Mon May 12 08:33:28 2008
@@ -904,8 +904,6 @@
=pod
-B<NOTE:> 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 :-).
Modified: trunk/lib/Apache/Qpsmtpd.pm
==============================================================================
--- trunk/lib/Apache/Qpsmtpd.pm (original)
+++ trunk/lib/Apache/Qpsmtpd.pm Mon May 12 08:33:28 2008
@@ -34,6 +34,8 @@
);
$qpsmtpd->run($c);
+ $qpsmtpd->run_hooks("post-connection");
+ $qpsmtpd->connection->reset;
return Apache2::Const::OK;
}