aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-03-14 12:30:26 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2013-03-14 12:30:26 +0000
commit4641497e9c85f6e182c3f134da3f79f324c85e12 (patch)
tree0c399f21918c5b6d26f4cf7d4bed82ebe3c23e02 /src/http/ngx_http_request.c
parent545cfd1fd391041706fab96d9835c4c82eda31d7 (diff)
downloadnginx-4641497e9c85f6e182c3f134da3f79f324c85e12.tar.gz
nginx-4641497e9c85f6e182c3f134da3f79f324c85e12.zip
Request body: avoid linking rb->buf to r->header_in.
Code to reuse of r->request_body->buf in upstream module assumes it's dedicated buffer, hence after 1.3.9 (r4931) it might reuse r->header_in if client_body_in_file_only was set, resulting in original request corruption. It is considered to be safer to always create a dedicated buffer for rb->bufs to avoid such problems.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions