QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections.

This commit is contained in:
Sergey Kandaurov 2020-10-12 14:00:00 +01:00
parent 028185db49
commit 545241eb55
1 changed files with 7 additions and 0 deletions

View File

@ -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);
}