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 from 4096 to > 8192 to tuning that limit, but it seems nothing changes.
Try adjusting APR_BUCKET_BUFF_SIZE in srclib/apr-util/buckets/apr_buckets.h (no idea if that'll break anything, but that's where the 8000 is coming from). -- Dan Poirier <poir...@pobox.com>