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.0.6~54 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=11ba718b691d367d8a6ccc6c5cbd88f1de1bae36;p=haproxy-3.0.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. (cherry picked from commit e7be13da87f8ec00470ef60bb43b85f0480fd85d) Signed-off-by: Christopher Faulet --- diff --git a/reg-tests/http-messaging/truncated.vtc b/reg-tests/http-messaging/truncated.vtc index 7f262d7..e674b87 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