diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2021-09-27 17:42:53 +0300 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2021-09-27 17:42:53 +0300 |
| commit | 4d92aa79571d095e088c22513262a68aa347950d (patch) | |
| tree | abf6bb1a9267430df30dbfeb1df86a0dfe76e18a /src | |
| parent | a5b5b6ca0f36ebba327e35c5d5159458df86b60e (diff) | |
| download | nginx-4d92aa79571d095e088c22513262a68aa347950d.tar.gz nginx-4d92aa79571d095e088c22513262a68aa347950d.tar.bz2 | |
HTTP/3: fixed server push after ea9b645472b5.
Unlike in HTTP/2, both "host" and ":authority" reside in r->headers_in.server.
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/v3/ngx_http_v3_filter_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/v3/ngx_http_v3_filter_module.c b/src/http/v3/ngx_http_v3_filter_module.c index a88b32f07..ee3c99dc1 100644 --- 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_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; } |
