aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/v3/ngx_http_v3_filter_module.c2
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;
}