]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: Do not try to accept a connection more than one time
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 28 Jan 2022 20:43:48 +0000 (21:43 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 31 Jan 2022 15:40:23 +0000 (16:40 +0100)
commit91f083a365b56cbfa993281031b6b9c66eba278a
tree7bdb95cd93df73ebaad4c9a0660e991ff71bf0b5
parent298931d17722a8dd6eb522e7c99ceb741ceabe8c
MINOR: quic: Do not try to accept a connection more than one time

We add a new flag to mark a connection as already enqueued for acception.
This is useful for 0-RTT session where a connection is first enqueued for
acception as soon as 0-RTT RX secrets could be derived. Then as for any other
connection, we could accept one more time this connection after handshake
completion which lead to very bad side effects.

Thank you to Amaury for this nice patch.
include/haproxy/xprt_quic-t.h
src/quic_sock.c