From 7f348b2d1f3bca54227c3d24fb017ec8787cd8a2 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Wed, 10 Mar 2021 17:56:34 +0300 Subject: [PATCH] HTTP/3: fixed server push. --- src/http/v3/ngx_http_v3_filter_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/v3/ngx_http_v3_filter_module.c b/src/http/v3/ngx_http_v3_filter_module.c index 9a2313a14..8d601c978 100644 --- 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_request_t *pr, ngx_str_t *path, 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;