]> git.kaiwu.me - nginx.git/commit
QUIC: relocated ngx_quic_init_streams() for 0-RTT.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 10 Jan 2023 13:24:10 +0000 (17:24 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 10 Jan 2023 13:24:10 +0000 (17:24 +0400)
commitd76600874c495728b801fd6ec33978194928a6e4
tree4612d68c3fc57de0662dbb05ec00a85733f52ce2
parent0065ba68b08b8cf4eaf3c18266d1a93182f196ed
QUIC: relocated ngx_quic_init_streams() for 0-RTT.

Previously, streams were initialized in early keys handler.  However, client
transport parameters may not be available by then.  This happens, for example,
when using QuicTLS.  Now streams are initialized in ngx_quic_crypto_input()
after calling SSL_do_handshake() for both 0-RTT and 1-RTT.
src/event/quic/ngx_event_quic_ssl.c