[experimental-ims] bbdf093 Use expect_close after we munged the gzip stream, varnishd isn't going to like it...

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


commit bbdf093f2a637cc7ef83ad4336849c363cebe501
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Aug 22 12:07:55 2012 +0000

    Use expect_close after we munged the gzip stream, varnishd isn't going
    to like it...
    
    Patch by:	daghf

diff --git a/bin/varnishtest/tests/r01184.vtc b/bin/varnishtest/tests/r01184.vtc
index 9a74f28..3977eb1 100644
--- a/bin/varnishtest/tests/r01184.vtc
+++ b/bin/varnishtest/tests/r01184.vtc
@@ -60,16 +60,7 @@ server s1 {
                 sendhex " 10 45 f3 a9 83 b8 18 1c  7b c2 30 55 04 17 13 c4"
                 sendhex " 0f 07 5f 7a 38 f4 8e 50  b3 37 d4 3a 32 4a 34 07"
                 sendhex " FF FF FF FF FF FF FF FF  72 ea 06 5f b3 1c fa dd"
-                sendhex " 2b b9 88 20 99 e6 9a 3c  84 7c 85 8e 50 e0 59 2a"
-                sendhex " 42 b0 8a 34 0f 96 d5 1e  f7 97 fb b7 7e fd 4e 87"
-                sendhex " c7 8f be 9e ce fb 74 3a  3f 51 89 a3 9b 7e b2 43"
-                sendhex " a4 86 a2 55 90 b9 29 4c  4b 83 b8 99 5f b5 bb 27"
-                sendhex " 6a d4 86 18 22 83 8a 26  f4 11 1a 5c eb 34 3b ca"
-                sendhex " 20 31 9e 12 29 ff a8 92  78 a2 e6 ec 61 55 12 fc"
-                sendhex " 68 84 6c 12 41 b9 cf 2f  30 3b f0 10 5e d6 b7 eb"
-                sendhex " e7 76 bb 2c 7f 8c 90 4a  14 4c 01 00 00"
-	send "\r\n"
-	chunkedlen 0
+	expect_close
 } -start
 
 varnish v1 -vcl+backend {
@@ -100,16 +91,7 @@ server s1 {
                 sendhex " 10 45 f3 a9 83 b8 18 1c  7b c2 30 55 04 17 13 c4"
                 sendhex " 0f 07 5f 7a 38 f4 8e 50  b3 37 d4 3a 32 4a 34 07"
                 sendhex " FF FF FF FF FF FF FF FF  72 ea 06 5f b3 1c fa dd"
-                sendhex " 2b b9 88 20 99 e6 9a 3c  84 7c 85 8e 50 e0 59 2a"
-                sendhex " 42 b0 8a 34 0f 96 d5 1e  f7 97 fb b7 7e fd 4e 87"
-                sendhex " c7 8f be 9e ce fb 74 3a  3f 51 89 a3 9b 7e b2 43"
-                sendhex " a4 86 a2 55 90 b9 29 4c  4b 83 b8 99 5f b5 bb 27"
-                sendhex " 6a d4 86 18 22 83 8a 26  f4 11 1a 5c eb 34 3b ca"
-                sendhex " 20 31 9e 12 29 ff a8 92  78 a2 e6 ec 61 55 12 fc"
-                sendhex " 68 84 6c 12 41 b9 cf 2f  30 3b f0 10 5e d6 b7 eb"
-                sendhex " e7 76 bb 2c 7f 8c 90 4a  14 4c 01 00 00"
-	send "\r\n"
-	chunkedlen 0
+	expect_close
 } -start
 
 varnish v1 -vcl+backend {



More information about the varnish-commit mailing list