MINOR: quic: notify connection layer on handshake completion
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Oct 2024 09:05:51 +0000 (11:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 8 Nov 2024 14:54:11 +0000 (15:54 +0100)
commitf45ea9b8d964d2dd0fc72077d024ba54b01cd524
tree08ffcc6dec2ea8e68822c516039a0020aee26b4b
parent690ee88577ea592a10b22ecc6fd7abaa8b656989
MINOR: quic: notify connection layer on handshake completion

Wake up connection layer on QUIC handshake completion via
quic_conn_io_cb. Select SUB_RETRY_RECV as this was previously unused by
QUIC MUX layer.

For the moment, QUIC MUX never subscribes for handshake completion.
However, this will be necessary for features such as the delaying of
early data forwarding via wait-for-handshake.

This patch will be necessary to implement wait-for-handshake support for
QUIC. As such, it must be backported with next commits up to 2.6,
after a mandatory period of observation.

(cherry picked from commit 5a5950e42d7060ee311e51438f4f16ad0effefd9)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_quic.c
src/quic_conn.c