REGTESTS: Fix truncated.vtc to send 0-CRLF
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Feb 2025 06:31:51 +0000 (07:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Mar 2025 15:16:44 +0000 (16:16 +0100)
When a chunked messages is sent, the 0-CRLF must be explicitely sent. Since
the begining, it is missing. Just add it.

(cherry picked from commit b93e419750aa8921e76e1e58c57a9bf8eefea969)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit e08ed2d43e2871f9e9d696d35f61c6352703a4b6)
Signed-off-by: Willy Tarreau <w@1wt.eu>

reg-tests/http-messaging/truncated.vtc

index e674b87..a8048e1 100644 (file)
@@ -57,6 +57,7 @@ server s1 {
        #delay 0.05
        chunkedlen 815
        delay 0.05
+       chunkedlen 0
 } -repeat 2 -start
 
 haproxy h1 -conf {