]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: fix the race conditions in log_uri.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 13 Apr 2023 13:11:23 +0000 (15:11 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Apr 2023 10:13:09 +0000 (12:13 +0200)
A "Connection: close" header is added to responses to avoid any connection
reuse. This should avoid any "HTTP header incomplete" errors.

reg-tests/log/log_uri.vtc

index 6993b7cbeab57806a7a58cbbf8ec8b1ff31885f9..6dd50d2fac6686045d03139b91ae0407af771b0d 100644 (file)
@@ -5,7 +5,7 @@ feature ignore_unknown_macro
 
 server s1 {
     rxreq
-    txresp
+    txresp  -hdr "Connection: close"
 } -repeat 4 -start
 
 syslog Slg_1 -level info {