From 72b566cea5387644853def8230aa19e4c1e1990b Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 12 Oct 2020 14:00:00 +0100 Subject: [PATCH] QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections. --- src/http/ngx_http_upstream.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 53c77105b..419d936b8 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -523,6 +523,13 @@ ngx_http_upstream_init(ngx_http_request_t *r) } #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); }