]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: avoid a useless I/O callback wakeup for 0-RTT sessions
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 6 Nov 2025 14:36:43 +0000 (15:36 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 13 Nov 2025 13:04:31 +0000 (14:04 +0100)
commitc76e072e437e745092aae696933ff7bc3ccb4d52
tree5d1586dfac24379eca3a22701447298a36df48fd
parent92d2ab76e054b063612dc17c81eb8ef3790e5424
MINOR: quic-be: avoid a useless I/O callback wakeup for 0-RTT sessions

For backends and 0-RTT sessions, this patch modifies the ->start() callback to
wake up the I/O callback only if the connection (and the mux) is not ready. Note that
connect_server() has been modified to call this xprt callback just after having
created the mux and installed the mux. Contrary to 1-RTT session, for 0-RTT sessions,
the connections are always ready before calling this ->start xprt callback.
src/xprt_quic.c