MINOR: proto_quic: Allocate TX ring buffers for listeners
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 6 Jul 2021 13:39:26 +0000 (15:39 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commit48f8e1925b7e30c1a0b04c37f94108af766b461c
tree672dbe597a7c0cdbab64995238ef082a29702b84
parent22cfdf8d0eacc8c1b8dd9997227e40b9dabaca35
MINOR: proto_quic: Allocate TX ring buffers for listeners

We allocate an array of QUIC ring buffer, one by thread, and arranges them in a
MT_LIST. Everything is allocated or nothing: we do not want to usse an incomplete
array of ring buffers to ensure that each thread may safely acquire one of these
buffers.
include/haproxy/receiver-t.h
src/proto_quic.c