]> git.kaiwu.me - haproxy.git/commit
REGTESTS: http-messaging: Fix http_fail_cnt_body to succeed with small timeouts
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 13 Oct 2026 06:40:28 +0000 (08:40 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 13 Oct 2026 06:53:29 +0000 (08:53 +0200)
commite278b8db100fe3a3afe8111af02b7596a86bca0d
tree36170ea7e532a151e980df47483b53e1201c9af6
parent4e6160c786a025f9050a260a39a1ef99045a2cc2
REGTESTS: http-messaging: Fix http_fail_cnt_body to succeed with small timeouts

http_fail_cnt_body.vtc script was failing when small timeouts were used. The
script tries to detect client or server aborts during payload forwarding on
the other side. Because "http-no-delay" option was not set, a 200ms delay
could be observed to forward the server response. So with small timeouts,
the server timeout was hit before the client abort. It is now fixed.

In addition the delay before emitting CLI commands was removed.

This patch should be backported as far as 2.8.
reg-tests/http-messaging/http_fail_cnt_body.vtc