]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: use quic_conn as argument to traces
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Dec 2021 13:29:15 +0000 (14:29 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Dec 2021 14:53:19 +0000 (15:53 +0100)
commit7aaeb5b5670861485c72d9887fbc9114e425257b
tree8330624ad7f9e742df411960f66526ce520f0417
parentbaea96400f40964c6a742bd7cf8f520ddb4238af
MINOR: quic: use quic_conn as argument to traces

Replace the connection instance for first argument of trace callback by
a quic_conn instance. The QUIC trace module is properly initialized with
the first argument refering to a quic_conn.

Replace every connection instances in TRACE_* macros invocation in
xprt-quic by its related quic_conn. In some case, the connection is
still used to access the quic_conn. It may cause some problem on the
future when the connection will be completly separated from the xprt
layer.

This commit is part of the rearchitecture of xprt-quic layers and the
separation between xprt and connection instances.
src/xprt_quic.c