apache: add post-connection hook, connection->reset

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@902 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Hanno Hecker 2008-05-12 15:33:28 +00:00
parent e0c3eb2b4a
commit c7c6e3afb9
2 changed files with 2 additions and 2 deletions

View File

@ -904,8 +904,6 @@ FIXME: we should run this hook on a ``SIGHUP'' or some other signal?
=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 :-).

View File

@ -34,6 +34,8 @@ sub handler {
);
$qpsmtpd->run($c);
$qpsmtpd->run_hooks("post-connection");
$qpsmtpd->connection->reset;
return Apache2::Const::OK;
}