]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: proto_htx: Introduce the state ENDING during forwarding
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 13 Jun 2019 14:43:22 +0000 (16:43 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Jun 2019 09:13:32 +0000 (11:13 +0200)
commitd20fdb0454981ebd071d9d805895a3cd510a1f27
tree233c45ad59eb8a039b77fd5bce5ff71f414fdaeb
parent36a7702b034e7a2f3dd2cd0b81d693a4ae931c03
BUG/MEDIUM: proto_htx: Introduce the state ENDING during forwarding

This state is used in the legacy HTTP when everything was received from an
endpoint but a filter doesn't forward all the data. It is used to not report a
client or a server abort, depending on channels flags.

The same must be done on HTX streams. Otherwise, the message may be
truncated. For instance, it may happen with the filter trace with the random
forwarding enabled on the response channel.

This patch must be backported to 1.9.
src/proto_htx.c