mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
HTTP/3: fixed server push after ea9b645472b5.
Unlike in HTTP/2, both "host" and ":authority" reside in r->headers_in.server.
This commit is contained in:
parent
a5b5b6ca0f
commit
4d92aa7957
@ -858,7 +858,7 @@ ngx_http_v3_push_resource(ngx_http_request_t *r, ngx_str_t *path,
|
||||
return NGX_ABORT;
|
||||
}
|
||||
|
||||
if (r->headers_in.host == NULL) {
|
||||
if (r->headers_in.server.len == 0) {
|
||||
return NGX_ABORT;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user