BUG/MINOR: tcp-rules: Make action call final on read error and delay expiration
When a TCP content ruleset is evaluated, we stop waiting for more data if
the inspect-delay is reached, if there is a read error or if we know no more
data will be received. This last point is only valid for ACLs. An action may
decide to yield for another reason. For instance, in the SPOE, the
"send-spoe-group" action yields while the agent response is not
received. Thus, now, an action call is final only when the inspect-delay is
reached or if there is a read error. But it is possible for an action to
yield if the buffer is full or if CF_EOI flag is set.
This patch could be backported to all supported versions.
(cherry picked from commit d1c6cfe45a267b3150af6af814bee94d30eb23c6)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 7478c5ba54cb2773200037ad53c026ecdab1b20c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 182b603919719d61470e367d232bc6fbe3b35a1a)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed