Commit 4f9c5b93 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

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

parent bbdf093f
...@@ -52,7 +52,7 @@ server s1 { ...@@ -52,7 +52,7 @@ server s1 {
txresp -nolen \ txresp -nolen \
-hdr "Content-Encoding: gzip" \ -hdr "Content-Encoding: gzip" \
-hdr "Transfer-Encoding: Chunked" -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 " 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 " 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" sendhex " 5b 08 bd 80 2d cb 10 28 5d 34 f4 fe f5 30 d0 68"
...@@ -83,7 +83,7 @@ server s1 { ...@@ -83,7 +83,7 @@ server s1 {
txresp -nolen \ txresp -nolen \
-hdr "Content-Encoding: gzip" \ -hdr "Content-Encoding: gzip" \
-hdr "Transfer-Encoding: Chunked" -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 " 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 " 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" sendhex " 5b 08 bd 80 2d cb 10 28 5d 34 f4 fe f5 30 d0 68"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment