# HG changeset patch # User Roman Arutyunyan # Date 1600282113 -3600 # Node ID 5a794d2452efd929ca6812c922746c976e7b21d6 # Parent 234e9d89ff7fede5b1c680c3f5fe2698484b9bb3 HTTP/3: removed HTTP/3 parser call from discard body filter. Request body discard is disabled for QUIC streams anyway. diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -804,16 +804,7 @@ ngx_http_discard_request_body_filter(ngx 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) {