# HG changeset patch # User Sergey Kandaurov # Date 1632753773 -10800 # Node ID 5a2080d48da8363b67d980ad1e5c842a54c794fb # Parent 40f2f059145ad20986cd300f1918a3406af0bd41 HTTP/3: fixed server push after ea9b645472b5. Unlike in HTTP/2, both "host" and ":authority" reside in r->headers_in.server. diff --git a/src/http/v3/ngx_http_v3_filter_module.c b/src/http/v3/ngx_http_v3_filter_module.c --- a/src/http/v3/ngx_http_v3_filter_module.c +++ b/src/http/v3/ngx_http_v3_filter_module.c @@ -858,7 +858,7 @@ ngx_http_v3_push_resource(ngx_http_reque return NGX_ABORT; } - if (r->headers_in.host == NULL) { + if (r->headers_in.server.len == 0) { return NGX_ABORT; }