]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: fixed server push.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 10 Mar 2021 14:56:34 +0000 (17:56 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 10 Mar 2021 14:56:34 +0000 (17:56 +0300)
src/http/v3/ngx_http_v3_filter_module.c

index 9a2313a14c02e15f79dc4d073eeb0103afead7f9..8d601c9782062c2c306e185ba8623e006827be66 100644 (file)
@@ -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;