]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: reconnect quic-conn socket on address migration
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 1 Dec 2022 15:20:06 +0000 (16:20 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
commitd3083c9df93e489d3c030c1f97fbd4ca5a545dfe
tree7de630bb45fc7e55b428d9d43795a61c351f0f29
parentb2bd83972b7f61f674871b9a9722a6192a841322
MINOR: quic: reconnect quic-conn socket on address migration

UDP addresses may change over time for a QUIC connection. When using
quic-conn owned socket, we have to detect address change to break the
bind/connect association on the socket.

For the moment, on change detected, QUIC connection socket is closed and
a new one is opened. In the future, we may improve this by trying to
keep the original socket and reexecute only bind/connect syscalls.

This change is part of quic-conn owned socket implementation.
It may be backported to 2.7 after a period of observation.
include/haproxy/quic_sock.h
src/quic_conn.c
src/quic_sock.c