Justin Erenkrantz wrote:
--On Saturday, January 11, 2003 8:07 PM +1100 Stas Bekman <[EMAIL PROTECTED]> wrote:Thanks Justin,
ap_finalize_request_protocol covers all the other cases, by checking r->sent_eos. My question is why not always add the eos in ap_finalize_request_protocol()?
ap_finalize_request_protocol() is a last resort to ensure that even with a faulty handler an EOS is sent down the chain. But, if an EOS is already sent, it is illegal to send another. -- justin
Does that mean that mod_status, mod_info and other standard generator handlers should be changed to send eos to be proper?
Currently there is not much documentation available, so the only way to learn how things should be written properly is to look at the core modules, in hope that they provide a proper example.
__________________________________________________________________
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
