]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: replace SI_FL_WANT_PUT with !SI_FL_RX_WAIT_EP
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Nov 2018 12:43:35 +0000 (13:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 20:41:46 +0000 (21:41 +0100)
commit05b9b64afbb3c86084977f51f5192c5f7a88ade7
treeca1e7c9b45295e9667e4db2e048988b2bc64fcbb
parent78dcacef5c6d2338781336fc45224138843e31de
MINOR: stream-int: replace SI_FL_WANT_PUT with !SI_FL_RX_WAIT_EP

The SI_FL_WANT_PUT flag is used in an awkward way, sometimes it's
set by the stream-interface to mean "I have something to deliver",
sometimes it's cleared by the channel to say "I don't want you to
send what you have", and it has to be set back once CF_DONT_READ
is cleared. This will have to be split between SI_FL_RX_WAIT_EP
and SI_FL_RXBLK_CHAN. This patch only replaces all uses of the
flag with its natural (but negated) replacement SI_FL_RX_WAIT_EP.
The code is expected to be strictly equivalent. The now unused flag
was completely removed.
contrib/debug/flags.c
include/proto/stream_interface.h
include/types/stream_interface.h
src/stream_interface.c