Mercurial > hg > nginx
comparison src/http/ngx_http_request_body.c @ 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 | 9ffef6054abf |
children | 279ad36f2f4b |
comparison
equal
deleted
inserted
replaced
8550:234e9d89ff7f | 8551:5a794d2452ef |
---|---|
802 r->request_body = rb; | 802 r->request_body = rb; |
803 } | 803 } |
804 | 804 |
805 for ( ;; ) { | 805 for ( ;; ) { |
806 | 806 |
807 switch (r->http_version) { | 807 rc = ngx_http_parse_chunked(r, b, rb->chunked); |
808 #if (NGX_HTTP_V3) | |
809 case NGX_HTTP_VERSION_30: | |
810 rc = ngx_http_v3_parse_request_body(r, b, rb->chunked); | |
811 break; | |
812 #endif | |
813 | |
814 default: /* HTTP/1.x */ | |
815 rc = ngx_http_parse_chunked(r, b, rb->chunked); | |
816 } | |
817 | 808 |
818 if (rc == NGX_OK) { | 809 if (rc == NGX_OK) { |
819 | 810 |
820 /* a chunk has been parsed successfully */ | 811 /* a chunk has been parsed successfully */ |
821 | 812 |