MINOR: quic: When probing Handshake packet number space, also probe the Initial one
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 31 Jan 2023 16:32:06 +0000 (17:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 16:55:55 +0000 (17:55 +0100)
commit37ed4a3842d0f8c4a4f77c5f57b2dc1f0401a7e1
tree40b53f025ea6c8c286974801d7fbecc19bcf3ec8
parent055e82657ed10017017d4d9f0d6b2bfe96bc0a07
MINOR: quic: When probing Handshake packet number space, also probe the Initial one

This is not really a bug fix but an improvement. When the Handshake packet number
space has been detected as needed to be probed, we should also try to probe the
Initial packet number space if there are still packets in flight. Furthermore
we should also try to send up to two datagrams.

Must be backported to 2.6 and 2.7.
src/quic_conn.c