changeset 8715:6bb924b00e30 quic

HTTP/3: fixed server push.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 10 Mar 2021 17:56:34 +0300
parents 05e0988a6898
children 1c48629cfa74
files src/http/v3/ngx_http_v3_filter_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3_filter_module.c
+++ b/src/http/v3/ngx_http_v3_filter_module.c
@@ -884,6 +884,7 @@ ngx_http_v3_create_push_request(ngx_http
 
     ngx_str_set(&r->http_protocol, "HTTP/3.0");
 
+    r->http_version = NGX_HTTP_VERSION_30;
     r->method_name = ngx_http_core_get_method;
     r->method = NGX_HTTP_GET;