]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: QUIC conn initialization from I/O handler
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 31 May 2021 07:30:14 +0000 (09:30 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commit3d77fa754d337c43015dacace95581cdfa06f5c1
tree5415784aef861737362485224002611907689981
parentde935f34e5aa0d3c8e12aa56308623a63ed806e8
MINOR: quic: QUIC conn initialization from I/O handler

Move the QUIC conn (struct quic_conn) initialization from quic_sock_accept_conn()
to qc_lstnr_pkt_rcv() as this is done for the server part.
Move the timer initialization to ->start xprt callback to ensure the connection
context is done : it is initialized by the ->accept callback which may be run
by another thread than the one for the I/O handler which also run ->start.
include/haproxy/xprt_quic.h
src/quic_sock.c
src/xprt_quic.c