Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_filter_module.c @ 8868:5a2080d48da8 quic
HTTP/3: fixed server push after ea9b645472b5.
Unlike in HTTP/2, both "host" and ":authority" reside in r->headers_in.server.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 27 Sep 2021 17:42:53 +0300 |
parents | ea9b645472b5 |
children | 72b304f6207c |
comparison
equal
deleted
inserted
replaced
8867:40f2f059145a | 8868:5a2080d48da8 |
---|---|
856 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, | 856 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, |
857 "http3 abort pushes due to max_concurrent_pushes"); | 857 "http3 abort pushes due to max_concurrent_pushes"); |
858 return NGX_ABORT; | 858 return NGX_ABORT; |
859 } | 859 } |
860 | 860 |
861 if (r->headers_in.host == NULL) { | 861 if (r->headers_in.server.len == 0) { |
862 return NGX_ABORT; | 862 return NGX_ABORT; |
863 } | 863 } |
864 | 864 |
865 push_id = h3c->next_push_id++; | 865 push_id = h3c->next_push_id++; |
866 | 866 |