]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn_stream: test the various ops functions before calling them
authorWilly Tarreau <w@1wt.eu>
Tue, 24 May 2022 06:17:58 +0000 (08:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:34 +0000 (19:33 +0200)
commitc086960a0324669d32dfd1526845828ce947ea2c
treee4d385424825f1efdbbb981654bf7206485d9e27
parentf3ae34b67de27cd799f544547b1c9e2907db9f94
MINOR: conn_stream: test the various ops functions before calling them

We currently call all ->shutr, ->chk_snd etc from ->ops unconditionally,
while the ->wake() call from data_cb is checked. Better check ops as
well for consistency, this will help get them merged.
include/haproxy/cs_utils.h