Mercurial > hg > nginx-quic
comparison auto/os/linux @ 7563:a7e8f953408e
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.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 04 Sep 2019 13:33:51 +0300 |
parents | f7e79596baf2 |
children | d3747ba486e7 e2e9e0fae747 |
comparison
equal
deleted
inserted
replaced
7562:52b5ee64fe11 | 7563:a7e8f953408e |
---|