aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-10-12 14:00:00 +0100
committerSergey Kandaurov <pluknet@nginx.com>2020-10-12 14:00:00 +0100
commit72b566cea5387644853def8230aa19e4c1e1990b (patch)
tree5d69292ac38970f2b01193196a08d53e2d21c433 /src
parentbb64f2017a5e549cd5883ee3ebee23a6a82d5c2e (diff)
downloadnginx-72b566cea5387644853def8230aa19e4c1e1990b.tar.gz
nginx-72b566cea5387644853def8230aa19e4c1e1990b.zip
QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_upstream.c7
1 files changed, 7 insertions, 0 deletions
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);
}