]> git.kaiwu.me - haproxy.git/commit
MINOR: listener: define per-thr struct
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 25 Jan 2022 15:21:47 +0000 (16:21 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 26 Jan 2022 15:13:54 +0000 (16:13 +0100)
commitf68b2cb8160288f08b5d40c177f1c7ba84934465
treec211407e7f51c69d1315a014522c41f5f6fd3543
parent2ce99fe4bf22054fbdac84c3a7bb3c31582a00c0
MINOR: listener: define per-thr struct

Create a new structure li_per_thread. This is uses as an array in the
listener structure, with an entry allocated per thread. The new function
li_init_per_thr is responsible of the allocation.

For now, li_per_thread contains fields only useful for QUIC listeners.
As such, it is only allocated for QUIC listeners.
include/haproxy/listener-t.h
include/haproxy/listener.h
src/cfgparse.c
src/listener.c
src/proxy.c