aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-03-14 12:28:53 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2013-03-14 12:28:53 +0000
commit545cfd1fd391041706fab96d9835c4c82eda31d7 (patch)
tree0c54896ae1a77ce3cfe77f3695e3638c0a121d5d /src/http/ngx_http_request.c
parent092355b2ccc3954346d9d02e5424c8c816b53d08 (diff)
downloadnginx-545cfd1fd391041706fab96d9835c4c82eda31d7.tar.gz
nginx-545cfd1fd391041706fab96d9835c4c82eda31d7.zip
Request body: next upstream fix.
After introduction of chunked request body handling in 1.3.9 (r4931), r->request_body->bufs buffers have b->start pointing to original buffer start (and b->pos pointing to real data of this particular buffer). While this is ok as per se, it caused bad things (usually original request headers included before the request body) after reinit of the request chain in ngx_http_upstream_reinit() while sending the request to a next upstream server (which used to do b->pos = b->start for each buffer in the request chain). Patch by Piotr Sikora.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions