comparison src/event/quic/ngx_event_quic_streams.c @ 9158:ad3d34ddfdcc

QUIC: "handshake_timeout" configuration parameter. Previously QUIC did not have such parameter and handshake duration was controlled by HTTP/3. However that required creating and storing HTTP/3 session on first client datagram. Apparently there's no convenient way to store the session object until QUIC handshake is complete. In the followup patches session creation will be postponed to init() callback.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 13 Sep 2023 17:59:37 +0400
parents d59277dd3d8c
children 4ed4e1e7f115
comparison
equal deleted inserted replaced
9157:daf8f5ba23d8 9158:ad3d34ddfdcc
628 ngx_post_event(qs->connection->read, &ngx_posted_events); 628 ngx_post_event(qs->connection->read, &ngx_posted_events);
629 } 629 }
630 630
631 qc->streams.initialized = 1; 631 qc->streams.initialized = 1;
632 632
633 if (!qc->closing && qc->close.timer_set) {
634 ngx_del_timer(&qc->close);
635 }
636
633 return NGX_OK; 637 return NGX_OK;
634 } 638 }
635 639
636 640
637 static ngx_quic_stream_t * 641 static ngx_quic_stream_t *