]> git.kaiwu.me - nginx.git/commit
Proxy: fixed proxy_request_buffering and chunked with preread body.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 25 Mar 2015 23:31:30 +0000 (02:31 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 25 Mar 2015 23:31:30 +0000 (02:31 +0300)
commit5e96e84ffbd95567c53709dc8cffdfc58e5b56a2
treeae61696ccdbc9a05c38205320d60d3ef25186459
parent4a285bbd6c29a8f12e2915b1b80662cd0861321b
Proxy: fixed proxy_request_buffering and chunked with preread body.

If any preread body bytes were sent in the first chain, chunk size was
incorrectly added before the whole chain, including header, resulting in
an invalid request sent to upstream.  Fixed to properly add chunk size
after the header.
src/http/modules/ngx_http_proxy_module.c