From 11ba718b691d367d8a6ccc6c5cbd88f1de1bae36 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. (cherry picked from commit e7be13da87f8ec00470ef60bb43b85f0480fd85d) Signed-off-by: Christopher Faulet --- 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 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 -- 1.7.10.4