]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: Never reuse server connection in reg-tests/jwt/jwt_decrypt.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Apr 2026 12:00:22 +0000 (14:00 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Apr 2026 13:18:47 +0000 (15:18 +0200)
A "Connection: close" header is added to responses to avoid any connection
reuse. This should avoid errors on the client side.

reg-tests/jwt/jwt_decrypt.vtc

index 7a0c2a26458d7b63953d46b6f150154ec10fd0a3..9ccb61d690731a69e4250d9f3101d89ebc883099 100644 (file)
@@ -21,7 +21,7 @@ feature ignore_unknown_macro
 
 server s1 -repeat 30 {
   rxreq
-  txresp
+  txresp -hdr "Connection: close"
 } -start
 
 haproxy h1 -conf {