]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: detect connection migration
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 08:57:32 +0000 (09:57 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
commiteec0b3c1bdba757f427c5924ebd383633597300f
tree5dab8d729bb353794402b7f4c62b00c2903d56d3
parent21e611dc894550293250cbacebc8e301ae90b124
MINOR: quic: detect connection migration

Detect connection migration attempted by the client. This is done by
comparing addresses stored in quic-conn with src/dest addresses of the
UDP datagram.

A new function qc_handle_conn_migration() has been added. For the
moment, no operation is conducted and the function will be completed
during connection migration implementation. The only notable things is
the increment of a new counter "quic_conn_migration_done".

This should be backported up to 2.7.
include/haproxy/quic_stats-t.h
src/quic_conn.c
src/quic_stats.c