NAME
Apache2::Controller::Log::DetectAbortedConnection - helper handler for detecting cancelled connections to the client.
VERSION
Version 1.000.010 - FIRST RELEASE
DESCRIPTION
You don't need to use this handler, probably.
This is pushed internally by Apache2::Controller::Session to detect in the PerlLogHandler phase if the connection has been broken to the client before the server closes the connection.
So far it's only useful for the session, and because we now use a PerlLogHandler
for session saving instead of the PerlCleanupHandler
in prior versions. Using a PerlCleanupHandler
caused problems with synchronicity since the test scripts would fire off a new request before Apache was done processing the session saving from the prior request... I don't know why it did this under prefork with Apache::Test
, but it did.
So, I'm leaving it separate just in case it is useful for something else in the future.
FUNCTIONS
handler
Sets <$r-
notes->{a2c_connection_aborted}>> with the boolean results of <$r-
connection->aborted()>> and returns.
SEE ALSO
AUTHOR
Mark Hedges, <hedges at scriptdolphin.org>
COPYRIGHT & LICENSE
Copyright 2008 Mark Hedges, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.