mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 03:21:08 +00:00
QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections.
This commit is contained in:
parent
bb64f2017a
commit
72b566cea5
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue