]> git.kaiwu.me - nginx.git/commit
QUIC: do not call shutdown() when handshake is in progress.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 21 Sep 2023 15:32:38 +0000 (19:32 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 21 Sep 2023 15:32:38 +0000 (19:32 +0400)
commit6ecf576e34c3780b6cdb3f509c89042aa411e3d2
tree72f8afe38502b0ad177971d275adcbe15ff15fbd
parentec37134416d4fd98d8cb8f02776a711c50398684
QUIC: do not call shutdown() when handshake is in progress.

Instead, when worker is shutting down and handshake is not yet completed,
connection is terminated immediately.

Previously the callback could be called while QUIC handshake was in progress
and, what's more important, before the init() callback.  Now it's postponed
after init().

This change is a preparation to postponing HTTP/3 session creation to init().
src/event/quic/ngx_event_quic.c