From: Sergey Kandaurov Date: Mon, 12 Oct 2020 13:00:00 +0000 (+0100) Subject: QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=72b566cea5387644853def8230aa19e4c1e1990b;p=nginx.git QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections. --- 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); }