Mercurial > hg > nginx
changeset 8551:5a794d2452ef quic
HTTP/3: removed HTTP/3 parser call from discard body filter.
Request body discard is disabled for QUIC streams anyway.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 16 Sep 2020 19:48:33 +0100 |
parents | 234e9d89ff7f |
children | 351d62300832 |
files | src/http/ngx_http_request_body.c |
diffstat | 1 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request_body.c Wed Sep 16 12:27:23 2020 +0100 +++ b/src/http/ngx_http_request_body.c Wed Sep 16 19:48:33 2020 +0100 @@ -804,16 +804,7 @@ for ( ;; ) { - switch (r->http_version) { -#if (NGX_HTTP_V3) - case NGX_HTTP_VERSION_30: - rc = ngx_http_v3_parse_request_body(r, b, rb->chunked); - break; -#endif - - default: /* HTTP/1.x */ - rc = ngx_http_parse_chunked(r, b, rb->chunked); - } + rc = ngx_http_parse_chunked(r, b, rb->chunked); if (rc == NGX_OK) {