MINOR: quic: Atomically get/set the connection state
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 18 Aug 2021 07:16:01 +0000 (09:16 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commiteed7a7d73b75db42b29dbc0ffd2736b7d071bd16
treec521d789778d9800a865fb1d1781bfd2dae22adb
parentee57444382a711ed26cc902266cec945674385cd
MINOR: quic: Atomically get/set the connection state

As ->state quic_conn struct member field is shared between threads
we must atomically get and set its value.
src/xprt_quic.c