diff src/http/ngx_http_request.c @ 8295:5649079a41f4 quic

Parsing HTTP/3 request body.
author Roman Arutyunyan <arut@nginx.com>
date Fri, 27 Mar 2020 19:41:06 +0300
parents b364af7f9f3f
children 5b7ec588de48
line wrap: on
line diff
--- 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 
 #if (NGX_HTTP_V3)
     if (hc->quic) {
         r->http_version = NGX_HTTP_VERSION_30;
+        r->headers_in.chunked = 1;
     }
 #endif