]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: tcp-rules: Don't restart tcp-request content evaluation on yield
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Sep 2026 17:14:25 +0000 (19:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 15 Sep 2026 05:39:02 +0000 (07:39 +0200)
commita376a1f7616f72a49d18e96d4fcac0c3634064aa
treea8037bc4eec7620c276f3eb57138c7c0cf87122a
parent119c9e7158a72c864a313d81192c26b3a9912f8b
BUG/MEDIUM: tcp-rules: Don't restart tcp-request content evaluation on yield

The commit 9f1e9ee0e ("DEBUG: stream: Display the currently running rule in
stream dump") introduced a regression. The currently evaluated "tcp-request
content" rule was reset on resume while it should not. If it yielded again,
the rules evaluation was restarted to the first rule.

The "tcp-response content" rule evaluation was properly modified by the
commit above. The same must be performed gor the "tcp-request content" rule
evaluation.

This patch should fix the issue #3496. It must be backported as far as 3.2.
src/tcp_rules.c