aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_pthread_thread.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-11-26 18:00:14 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-11-26 18:00:14 +0000
commitc4a4a6a5d8f5f110d2f8203052dc1861aedb061f (patch)
tree26014d77994da5852ad0aef751ee492fdd08e327 /src/os/unix/ngx_pthread_thread.c
parent61feb90d74b9373a9089a09bbbb8c04629672d4f (diff)
downloadnginx-c4a4a6a5d8f5f110d2f8203052dc1861aedb061f.tar.gz
nginx-c4a4a6a5d8f5f110d2f8203052dc1861aedb061f.zip
Request body: improved handling of incorrect chunked request body.
While discarding chunked request body in some cases after detecting request body corruption no error was returned, while it was possible to correctly return 400 Bad Request. If error is detected too late, make sure to properly close connection. Additionally, in ngx_http_special_response_handler() don't return body of 500 Internal Server Error to a client if ngx_http_discard_request_body() fails, but disable keepalive and continue.
Diffstat (limited to 'src/os/unix/ngx_pthread_thread.c')
0 files changed, 0 insertions, 0 deletions