]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn_stream: add new sets of functions to set/get endpoint flags
authorWilly Tarreau <w@1wt.eu>
Tue, 17 May 2022 13:39:33 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:34 +0000 (19:33 +0200)
commitcd1d585e53a7b80b91dc3e0d551ad02c58091b0c
tree931e66c782d5d8597400b895a690b06b7c9213e3
parent24d15b18919085927816e55fac4809038cda0f12
MINOR: conn_stream: add new sets of functions to set/get endpoint flags

At plenty of places we need to manipulate the conn_stream's endpoint just
to set or clear a flag. This patch adds a handful of functions to perform
the common operations (clr/set/get etc) on these flags at both the endpoint
and at the conn_stream level.

The functions were named after the target names, i.e. se_fl_*() to act on
the stream endpoint flags, and sc_ep_* to manipulate the endpoint flags
from the stream connector (currently conn_stream).

For now they're not used.
include/haproxy/conn_stream.h