]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-int: use si_rx_shut_blk() to indicate the SI is closed
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Nov 2018 15:58:52 +0000 (16:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 20:41:49 +0000 (21:41 +0100)
commitabb5d4202ffa4bc272bc761cf5d3919a45194155
treeed164a660de6d3061dbcc35c55a5b7db12ba84ce
parent4b962a41791fa2e9648323f765cc542e32bd82ff
MEDIUM: stream-int: use si_rx_shut_blk() to indicate the SI is closed

Till now we were using si_done_put() upon shutr, but these flags could
be reset upon next activity. Now let's switch to SI_FL_RXBLK_SHUT which
doesn't go away. It's also set in stream_int_update() in case a shutr
condition is detected.

The now unused si_done_put() was removed.
include/proto/stream_interface.h
src/stream_interface.c