comparison src/http/ngx_http_upstream.c @ 8584:474706351c09 quic

QUIC: fixed ngx_http_upstream_init() much like HTTP/2 connections.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 12 Oct 2020 14:00:00 +0100
parents 0875101c08f7
children 279ad36f2f4b
comparison
equal deleted inserted replaced
8583:d564e8850975 8584:474706351c09
521 ngx_http_upstream_init_request(r); 521 ngx_http_upstream_init_request(r);
522 return; 522 return;
523 } 523 }
524 #endif 524 #endif
525 525
526 #if (NGX_HTTP_QUIC)
527 if (c->qs) {
528 ngx_http_upstream_init_request(r);
529 return;
530 }
531 #endif
532
526 if (c->read->timer_set) { 533 if (c->read->timer_set) {
527 ngx_del_timer(c->read); 534 ngx_del_timer(c->read);
528 } 535 }
529 536
530 if (ngx_event_flags & NGX_USE_CLEAR_EVENT) { 537 if (ngx_event_flags & NGX_USE_CLEAR_EVENT) {