]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache: also consider CF_SHUTR to abort delivery
authorWilly Tarreau <w@1wt.eu>
Sat, 15 Dec 2018 23:37:45 +0000 (00:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 15 Dec 2018 23:40:31 +0000 (00:40 +0100)
commitefef3237834e9e855d25dcead8f7dae66ac3084f
tree8e72e20191ff356daaa55ffafd2a6309d738e942
parent273e964f6e5d5f62f7e556a61b153d4f739394f0
BUG/MINOR: cache: also consider CF_SHUTR to abort delivery

The cache runs in an applet, so it delivers data into the input side
of the channel's buffer. Thus it must also abort feeding the buffer
as soon as CF_SHUTR is present, not just CF_SHUTW*, since these last
ones may only appear later. There doesn't seem to be an observable
side effect of this bug, the fix probably doesn't even need to be
backported.
src/cache.c