]> git.kaiwu.me - nginx.git/commit
Request body: fixed discard of chunked request body.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 26 Nov 2012 17:59:30 +0000 (17:59 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 26 Nov 2012 17:59:30 +0000 (17:59 +0000)
commit61feb90d74b9373a9089a09bbbb8c04629672d4f
tree586c1486d0bbfb857b916f8af386c6fb8e4bfed0
parenta94a101c79a4d6d14eaffb210d2e7d0afb3de7b0
Request body: fixed discard of chunked request body.

Even if there is no preread data, make sure to always call
ngx_http_discard_request_body_filter() in case of chunked request
body to initialize r->headers_in.content_length_n for later use.
src/http/ngx_http_request_body.c