]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic-be: do not launch the connection migration process
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 13 Nov 2025 10:26:14 +0000 (11:26 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 13 Nov 2025 12:52:40 +0000 (13:52 +0100)
commit64e32a0767e1cfc43eee02a57092498365b425b1
tree48d30afe9115107cb63677ad185e22cb41e9ee5e
parent071e5063d8070672a7afe7c6bb630da9eb7fbe39
BUG/MEDIUM: quic-be: do not launch the connection migration process

At this time the connection migration is not supported by QUIC backends.
This patch prevents this process to be launched for connections to QUIC backends.

Furthermore, the connection migration process could be started systematically
when connecting a backend to INADDR_ANY, leading to crashes into qc_handle_conn_migration()
(when referencing qc->li).

Thank you to @InputOutputZ for having reported this issue in GH #3178.

This patch simply checks the connection type (listener or not) before checking if
a connection migration must be started.

No need to backport because support for QUIC backends is available from 3.3.
src/quic_rx.c