Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
8294:32db41d603cd | 8295:5649079a41f4 |
---|---|
707 r->http_version = NGX_HTTP_VERSION_10; | 707 r->http_version = NGX_HTTP_VERSION_10; |
708 | 708 |
709 #if (NGX_HTTP_V3) | 709 #if (NGX_HTTP_V3) |
710 if (hc->quic) { | 710 if (hc->quic) { |
711 r->http_version = NGX_HTTP_VERSION_30; | 711 r->http_version = NGX_HTTP_VERSION_30; |
712 r->headers_in.chunked = 1; | |
712 } | 713 } |
713 #endif | 714 #endif |
714 | 715 |
715 r->headers_in.content_length_n = -1; | 716 r->headers_in.content_length_n = -1; |
716 r->headers_in.keep_alive_n = -1; | 717 r->headers_in.keep_alive_n = -1; |