A question about ap_content_length_filter()

2009-06-09 Thread Peter Wang
hi, all. code ?php // ~/www/htdocs/v.php header(Content-Type: text/plain); echo str_repeat('a', intval($_GET['s'])); ? /code test the php code above, when request with /v.php?s=8000, I got HTTP/1.1 200 OK Date: Tue, 09 Jun 2009 11:41:54 GMT Server: Apache Content-Length: 8000 Connection: close

Re: A question about ap_content_length_filter()

2009-06-09 Thread Dan Poirier
Peter Wang ptr.w...@gmail.com writes: so, my question is: when response size = 8000, the request contains a Content-Length field, otherwise, it uses chunked. 8000 may be very specific on my server, i wonder where can i tuning such a limit. I have tried to change output_buffering in php.ini

Re: A question about ap_content_length_filter()

2009-06-09 Thread Akins, Brian
On 6/9/09 7:50 AM, Peter Wang ptr.w...@gmail.com wrote: 8000 may be very specific on my server, i wonder where can i tuning such a limit. Yes 8000 is special in the apache response streaming. Are you using the deprecated mod_php or the supported fastcgi for php? -- Brian Akins Chief