mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 11:31:24 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue