1
0
mirror of http://git.haproxy.org/git/haproxy.git/ synced 2025-02-13 17:07:31 +00:00

MINOR: listener: add flags field

Define a new field in listener structure named flags.

For the moment, no flag is defined. This will be notably useful to
differentiate QUIC listeners with the implementation of a QUIC conn
accept queue.
This commit is contained in:
Amaury Denoyelle 2022-01-25 17:47:09 +01:00
parent cbe090d42f
commit 31ea9177ac

View File

@ -201,6 +201,7 @@ struct listener {
short int nice; /* nice value to assign to the instantiated tasks */
int luid; /* listener universally unique ID, used for SNMP */
int options; /* socket options : LI_O_* */
int flags; /* LI_F_* flags */
__decl_thread(HA_SPINLOCK_T lock);
struct fe_counters *counters; /* statistics counters */