aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_ssl_module.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2019-09-04 13:33:51 +0300
committerSergey Kandaurov <pluknet@nginx.com>2019-09-04 13:33:51 +0300
commit5a2ce3f4ee55eb8903aa9481deaaf402d5a2e805 (patch)
tree1052eb0f4fd8cdd4f95fbe542bd7902f4c893c2e /src/stream/ngx_stream_ssl_module.c
parent77c01f10a1ab7796f57ef354fb1f078e09afe2c4 (diff)
downloadnginx-5a2ce3f4ee55eb8903aa9481deaaf402d5a2e805.tar.gz
nginx-5a2ce3f4ee55eb8903aa9481deaaf402d5a2e805.zip
Fixed "return" with discarding invalid chunked body.
When ngx_http_discard_request_body() call was added to ngx_http_send_response(), there were no return codes other than NGX_OK and NGX_HTTP_INTERNAL_SERVER_ERROR. Now it can also return NGX_HTTP_BAD_REQUEST, but ngx_http_send_response() still incorrectly transforms it to NGX_HTTP_INTERNAL_SERVER_ERROR. The fix is to propagate ngx_http_discard_request_body() errors.
Diffstat (limited to 'src/stream/ngx_stream_ssl_module.c')
0 files changed, 0 insertions, 0 deletions