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 <cfaulet@haproxy.com>
This commit is contained in:
Christopher Faulet 2024-10-17 14:38:18 +02:00
parent 7d3fed6bf8
commit 11ba718b69

View File

@ -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