I have a problem with the HTTP response in the chunk mode using mod_perl.
When apache sends a response in the chunk mode, the mod_perl handler invokes the ap_send_http_header() function in the apache src/main/http_protocol.c file, and the r->chunked flag is set to 1 (by the ap_keep_alive() function). However when apache calls the ap_finalize_request_protocol() before sending out the request, the r->chunked is 0. Indeed, all changes that mod_perl/perl script made to request_rec (r) does not show up there at the stage the ap_finalize_request_protocol function was called. That caused the chunked content trailer was not sent to the client. I am running the apache on SUN unix box. The apache version is 1.3.12 and set the (keepAlive on). The mod perl version is 1.24. Version 1.27 also has this problems as well. If you do an apache code trace, set the breakpoint at apache_src/main/http_protocol.c function ap_finalize_request_protocol, you will see the r->chunked == 0 even though it was set to be 1. You can also use snoop to see that the trailers \0\r\n was missing. Is this a well known bug? Any way to solve it? Tx... __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com