]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: support migrating the listener as well
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Apr 2023 17:03:49 +0000 (19:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Apr 2023 15:41:26 +0000 (17:41 +0200)
commit77d37b07b182a3bfd8f70f3f3639a75ddcc32b06
treefcc2c95bc5f26fdaf0cceeeb8207165555b8aae5
parent23f352f7d00451212d9580e5e9b74d3ec6e5839e
MINOR: quic: support migrating the listener as well

When migrating a quic_conn to another thread, we may need to also
switch the listener if the thread belongs to another group. When
this happens, the freshly created connection will already have the
target listener, so let's just pick it from the connection and use
it in qc_set_tid_affinity(). Note that it will be the caller's
responsibility to guarantee this.
include/haproxy/quic_conn.h
src/proto_quic.c
src/quic_conn.c