]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: use a global dghlrs for each thread
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 8 Feb 2022 14:03:40 +0000 (15:03 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 09:13:20 +0000 (10:13 +0100)
commit8524f0f779858cf53ee621635e28edfbcae7c0ba
tree1cc26cedcef932f3c1dd276d3069b7790a51b1bd
parent6c8babf6c4d8cb33ff0f5220177207610c22ffcb
MINOR: quic: use a global dghlrs for each thread

Move the QUIC datagram handlers oustide of the receivers. Use a global
handler per-thread which is allocated on post-config. Implement a free
function on process deinit to avoid a memory leak.
include/haproxy/proto_quic.h
include/haproxy/receiver-t.h
src/proto_quic.c
src/xprt_quic.c