diff src/http/v3/ngx_http_v3_filter_module.c @ 8350:6bb924b00e30 quic

HTTP/3: fixed server push.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 10 Mar 2021 17:56:34 +0300
parents 1efee5e4194c
children 5cb5b568282b
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;