]> git.kaiwu.me - haproxy.git/commitdiff
REGTESTS: Never reuse server connection in jwt/jws_verify.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Apr 2026 08:52:53 +0000 (10:52 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Apr 2026 08:56:06 +0000 (10:56 +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/jws_verify.vtc

index 64587a7bc3d1a116b99eb0c7459467d6400919c5..c67996c9ff1b46b4ea53f3b69d86b8237d25739f 100644 (file)
@@ -18,7 +18,7 @@ feature ignore_unknown_macro
 
 server s1 -repeat 40 {
   rxreq
-  txresp
+  txresp -hdr "Connection: close"
 } -start
 
 haproxy h1 -conf {