From e7be13da87f8ec00470ef60bb43b85f0480fd85d Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 17 Oct 2024 14:38:18 +0200 Subject: [PATCH] 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. --- reg-tests/http-messaging/truncated.vtc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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