aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-03-27 19:41:06 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-03-27 19:41:06 +0300
commitfa1e1beadca8b1ea900ec654919aea58762ab746 (patch)
tree772a9443d24831a11fae49b2493a87fa6f6d4a94 /src/http/ngx_http_request.c
parent84a783501590e13ab27277e11f179067c08d38b3 (diff)
downloadnginx-fa1e1beadca8b1ea900ec654919aea58762ab746.tar.gz
nginx-fa1e1beadca8b1ea900ec654919aea58762ab746.zip
Parsing HTTP/3 request body.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 6f168c8bd..4368e79c0 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -709,6 +709,7 @@ ngx_http_alloc_request(ngx_connection_t *c)
#if (NGX_HTTP_V3)
if (hc->quic) {
r->http_version = NGX_HTTP_VERSION_30;
+ r->headers_in.chunked = 1;
}
#endif