# HG changeset patch # User Sergey Kandaurov # Date 1602507600 -3600 # Node ID 474706351c0951b466f574e9abaad2f95cb068f8 # Parent d564e88509755f7c0ebbd8ba9e5e36292bfdd29c 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 --- 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_ } #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); }