From: Christopher Faulet Date: Thu, 17 Oct 2024 12:38:18 +0000 (+0200) Subject: REGTESTS: Never reuse server connection in http-messaging/truncated.vtc X-Git-Tag: v3.1-dev11~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7be13da87f8ec00470ef60bb43b85f0480fd85d;p=thirdparty%2Fhaproxy.git REGTESTS: Never reuse server connection in http-messaging/truncated.vtc A "Connection: close" header is added to responses to avoid any connection reuse. This should avoid errors on the client side. --- diff --git a/reg-tests/http-messaging/truncated.vtc b/reg-tests/http-messaging/truncated.vtc index 7f262d75dc..e674b87268 100644 --- a/reg-tests/http-messaging/truncated.vtc +++ b/reg-tests/http-messaging/truncated.vtc @@ -7,7 +7,9 @@ server s1 { txresp \ -status 200 \ -nolen \ - -hdr "Transfer-encoding: chunked" + -hdr "Transfer-encoding: chunked" \ + -hdr "Connection: close" + # -bodylen 16300 #chunkedlen 16300 #delay 0.05