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:
parent
e0c3eb2b4a
commit
c7c6e3afb9
@ -904,8 +904,6 @@ FIXME: we should run this hook on a ``SIGHUP'' or some other signal?
|
|||||||
|
|
||||||
=pod
|
=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
|
The only argument is C<$self> and all return codes are ignored, it would
|
||||||
be too late anyway :-).
|
be too late anyway :-).
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ sub handler {
|
|||||||
);
|
);
|
||||||
|
|
||||||
$qpsmtpd->run($c);
|
$qpsmtpd->run($c);
|
||||||
|
$qpsmtpd->run_hooks("post-connection");
|
||||||
|
$qpsmtpd->connection->reset;
|
||||||
|
|
||||||
return Apache2::Const::OK;
|
return Apache2::Const::OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user