From: Sergey Kandaurov Date: Wed, 10 Mar 2021 14:56:34 +0000 (+0300) Subject: HTTP/3: fixed server push. X-Git-Tag: release-1.25.0~4^2~394 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=7f348b2d1f3bca54227c3d24fb017ec8787cd8a2;p=nginx.git HTTP/3: fixed server push. --- 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;