]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: always remove the connection from the accept list on close
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2022 05:26:27 +0000 (07:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2022 05:30:22 +0000 (07:30 +0200)
commit54bc78693d8153f10ec4268bfad8779b08740bc2
tree5645cb457bbf49410fc37e690b66920c0072017b
parentf0f92b2db8b95d5fbd9bc8def073ed2c3317f5d3
BUG/MEDIUM: quic: always remove the connection from the accept list on close

Fred managed to reproduce a crash showing a corrupted accept_list when
firing thousands of concurrent picoquicdemo clients to a same instance.
It may happen if the connection was placed into the accept_list and
immediately closed before being processed (e.g. on error or t/o ?).

In any case the quic_conn_release() function should always detach a
connection to be deleted from any list, like it does for other lists,
so let's add an MT_LIST_DELETE() here.

This should be backported to 2.6.
src/xprt_quic.c