]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache: Set conn-stream/channel EOI flags at the end of request
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 7 Mar 2022 14:53:57 +0000 (15:53 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 8 Mar 2022 17:24:16 +0000 (18:24 +0100)
commitdbf1e88e87748aef2db25fcdfeb22a4005908d41
tree68d3018d95b72872bd1b35b3053bdefdaae356ef
parent3fa5d19d14e70986d366e7c21554a434c1daa64b
BUG/MINOR: cache: Set conn-stream/channel EOI flags at the end of request

This bug is the same than for the HTTP client. See "BUG/MINOR: httpclient:
Set conn-stream/channel EOI flags at the end of request" for details.

Note that because a filter is always attached to the stream when the cache
is used, there is no issue because there is no direct forwarding in this
case. Thus the stream analyzers are able to see the HTX_FL_EOM flag on the
HTX messge.

This patch must be backported as far as 2.0. But only CF_EOI must be set
because applets are not attached to a conn-stream on older versions.
src/cache.c