I'm writing a protocol handler for mod_perl 2.0.
If all I have is an Apache::Connection object, how can I tell Apache I want to close the connection? I tried sending an end of stream bucket down the bucket brigade, but that clearly did nothing.
What's the canonical solution?
Normally you quit the handler returning OK and the connection is getting closed by Apache. If that doesn't work for you, please show us a short code sample of what you are trying to achieve.
Besides you have the client socket object, so may be you could do:
$c->client_socket->close;
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html