From: Willy Tarreau Date: Wed, 19 Aug 2026 09:17:23 +0000 (+0200) Subject: REGTESTS: converters: use connection: close in the has_ctl() test X-Git-Tag: v3.5-dev5~10 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=ba12b6c83f482785d2bd2ed98cdcfa814f16e42e;p=haproxy.git REGTESTS: converters: use connection: close in the has_ctl() test The reg-test used to test has_ctl() introduced by commit 33374957db ("MINOR: sample: add new converter has_ctl() to detect control characters") is flaky due to the server not using "connection: close", so under load it randomly shows "HTTP header incomplete". Let's add the close like in many other similar tests involving server reuse. This should be backported wherever the converter above is backported. --- diff --git a/reg-tests/converter/has_ctl.vtc b/reg-tests/converter/has_ctl.vtc index 7f73b926e..dd3a8014b 100644 --- a/reg-tests/converter/has_ctl.vtc +++ b/reg-tests/converter/has_ctl.vtc @@ -7,7 +7,7 @@ feature ignore_unknown_macro server s1 { rxreq - txresp + txresp -hdr "Connection: close" } -repeat 8 -start haproxy h1 -conf {