plugin doc: update for pre- / post-connection hooks, other minor corrections

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@901 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Hanno Hecker 2008-05-12 14:50:48 +00:00
parent a9e2089ab7
commit e0c3eb2b4a

View File

@ -419,12 +419,12 @@ connection to the worker process).
Useful for load-management and rereading large config files at some
frequency less than once per session.
This hook only works in the F<qpsmtpd-forkserver> and F<qpsmtpd-prefork>
flavours.
This hook is available in the F<qpsmtpd-forkserver>, F<qpsmtpd-prefork> and
F<qpsmtpd-async> flavours.
=cut
NOT FOR: -async, apache, -server and inetd/pperl
NOT FOR: apache, -server and inetd/pperl
=pod
@ -433,7 +433,8 @@ methods which (I<may>) take some time, like DNS lookups. This will slow down
B<all> incoming connections, no other connection will be accepted while this
hook is running!
Arguments this hook receives are:
Arguments this hook receives are (B<NOTE>: currently no C<%args> for
F<qpsmtpd-async>):
my ($self,$transaction,%args) = @_;
# %args is:
@ -903,8 +904,8 @@ FIXME: we should run this hook on a ``SIGHUP'' or some other signal?
=pod
B<NOTE:> This hook only works in the (x)inetd, -forkserver and -prefork
flavours.
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 :-).
@ -1124,7 +1125,9 @@ Plugin gave the answer.
=item DENY
Will result in a syntax error, probably not what you want, better use
The client will get a C<syntax error> message, probably not what you want,
better use
$self->qp->respond(502, "Not implemented.");
return DONE;