[master] 66a6183 Cover H2's illegal header detection code.

Poul-Henning Kamp phk at FreeBSD.org
Tue Jun 5 08:12:10 UTC 2018


commit 66a618352483e2d04c9a65fefe2e817c98512de1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jun 5 08:09:01 2018 +0000

    Cover H2's illegal header detection code.

diff --git a/bin/varnishtest/tests/t02002.vtc b/bin/varnishtest/tests/t02002.vtc
index f2cfb50..c1652b1 100644
--- a/bin/varnishtest/tests/t02002.vtc
+++ b/bin/varnishtest/tests/t02002.vtc
@@ -40,3 +40,18 @@ varnish v1 -expect MEMPOOL.req0.live == 0
 varnish v1 -expect MEMPOOL.req1.live == 0
 varnish v1 -expect MEMPOOL.sess0.live == 0
 varnish v1 -expect MEMPOOL.sess1.live == 0
+
+client c1 {
+	stream 11 {
+		txreq -hdr sna[]fu foo.bar -pad cotton
+		rxrst
+	} -run
+} -run
+
+client c1 {
+	stream 13 {
+		txreq -hdr snaFu foo.bar -pad cotton
+		rxrst
+	} -run
+} -run
+


More information about the varnish-commit mailing list