[experimental-ims] 4f9c5b9 Trim chunk headers to force the bogus data into varnishd's processing

Poul-Henning Kamp phk at FreeBSD.org
Thu Dec 18 10:27:54 CET 2014


commit 4f9c5b93d61d82dc48f71c9d7373c4d8eb5cc53b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Aug 22 13:30:56 2012 +0000

    Trim chunk headers to force the bogus data into varnishd's processing

diff --git a/bin/varnishtest/tests/r01184.vtc b/bin/varnishtest/tests/r01184.vtc
index 3977eb1..046b371 100644
--- a/bin/varnishtest/tests/r01184.vtc
+++ b/bin/varnishtest/tests/r01184.vtc
@@ -52,7 +52,7 @@ server s1 {
 	txresp -nolen \
 		-hdr "Content-Encoding: gzip" \
 		-hdr "Transfer-Encoding: Chunked"
-	send "ed\r\n"
+	send "70\r\n"
                 sendhex " 1f 8b 08 00 c2 39 33 50  02 03 45 90 4d 6a 03 31"
                 sendhex " 0c 85 f7 73 8a 47 2e 10  d9 f2 9f ca 34 d0 c2 64"
                 sendhex " 5b 08 bd 80 2d cb 10 28  5d 34 f4 fe f5 30 d0 68"
@@ -83,7 +83,7 @@ server s1 {
 	txresp -nolen \
 		-hdr "Content-Encoding: gzip" \
 		-hdr "Transfer-Encoding: Chunked"
-	send "ed\r\n"
+	send "70\r\n"
                 sendhex " 1f 8b 08 00 c2 39 33 50  02 03 45 90 4d 6a 03 31"
                 sendhex " 0c 85 f7 73 8a 47 2e 10  d9 f2 9f ca 34 d0 c2 64"
                 sendhex " 5b 08 bd 80 2d cb 10 28  5d 34 f4 fe f5 30 d0 68"



More information about the varnish-commit mailing list