]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Do not use connection struct xprt_ctx too soon
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 31 Jan 2022 09:37:07 +0000 (10:37 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 31 Jan 2022 15:40:23 +0000 (16:40 +0100)
commit7fbb94da8d1e4bd5e126372bba34c09ba15070b3
treefca47da90e5b026008fca491639555a2b3978523
parent789413caf04fbbf7093365b87e194668a61d7c39
MINOR: quic: Do not use connection struct xprt_ctx too soon

In fact the xprt_ctx of the connection is first stored into quic_conn
struct as soon as it is initialized from qc_conn_alloc_ssl_ctx().
As quic_conn_init_timer() is run after this function, we can associate
the timer context of the timer to the one from the quic_conn struct.
src/xprt_quic.c