aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-03-10 17:56:34 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-03-10 17:56:34 +0300
commit7f348b2d1f3bca54227c3d24fb017ec8787cd8a2 (patch)
tree6e52ed64e5ed5dffb98298e3e20a680abd64512d /src
parent02b52e4c0b71b960ce426ef80fefa359e5e6b42e (diff)
downloadnginx-7f348b2d1f3bca54227c3d24fb017ec8787cd8a2.tar.gz
nginx-7f348b2d1f3bca54227c3d24fb017ec8787cd8a2.zip
HTTP/3: fixed server push.
Diffstat (limited to 'src')
-rw-r--r--src/http/v3/ngx_http_v3_filter_module.c1
1 files changed, 1 insertions, 0 deletions
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;