Mercurial > hg > nginx
changeset 8584:474706351c09 quic
QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 12 Oct 2020 14:00:00 +0100 |
parents | d564e8850975 |
children | 02ee77f8d53d |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Fri Oct 09 16:57:19 2020 +0300 +++ b/src/http/ngx_http_upstream.c Mon Oct 12 14:00:00 2020 +0100 @@ -523,6 +523,13 @@ } #endif +#if (NGX_HTTP_QUIC) + if (c->qs) { + ngx_http_upstream_init_request(r); + return; + } +#endif + if (c->read->timer_set) { ngx_del_timer(c->read); }