[experimental-ims] c717971 Always call fetch-processor begin, also if C-L header is bogus.

Geoff Simmons geoff at varnish-cache.org
Mon Jan 9 21:51:47 CET 2012


commit c71797102fae2ea0775ceabba96431990394939f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 12 07:36:12 2011 +0000

    Always call fetch-processor begin, also if C-L header is bogus.
    
    Fixes	#1014

diff --git a/bin/varnishtest/tests/r01014.vtc b/bin/varnishtest/tests/r01014.vtc
new file mode 100644
index 0000000..53a4473
--- /dev/null
+++ b/bin/varnishtest/tests/r01014.vtc
@@ -0,0 +1,13 @@
+varnishtest "bug 1014, Invalid C-L header with gzip"
+
+server s1 {
+	rxreq
+	txresp -nolen -hdr "Content-Encoding: gzip" -hdr "Content-Length:"
+} -start
+
+varnish v1 -vcl+backend { } -start
+
+client c1 {
+	txreq
+	rxresp
+} -run



More information about the varnish-commit mailing list