summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-09-30 14:20:52 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-09-30 14:20:52 +0000
commit893049ef20562e264552b7878ce4add7139589e8 (patch)
tree4d5297558036ca8c20c50d8d2b71bbe8027779b7 /src/http/ngx_http_request.c
parentb8b0479e1cd8956236be4d2733f2e57f4d76b4d7 (diff)
downloadnginx-893049ef20562e264552b7878ce4add7139589e8.tar.gz
nginx-893049ef20562e264552b7878ce4add7139589e8.tar.bz2
Merging r4114, r4129:
Buffers reuse in chunked filter. There were 2 buffers allocated on each buffer chain sent through chunked filter (one buffer for chunk size, another one for trailing CRLF, about 120 bytes in total on 32-bit platforms). This resulted in large memory consumption with long-lived requests sending many buffer chains. Usual example of problematic scenario is streaming though proxy with proxy_buffering set to off. Introduced buffers reuse reduces memory consumption in the above problematic scenario. See here for initial report: http://mailman.nginx.org/pipermail/nginx/2010-April/019814.html
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions