[6.0] 07bf5d5cb Cover H2's illegal header detection code.

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:06 UTC 2018


commit 07bf5d5cb4d37a8ff62e941db3e6ea547549991b
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 f2cfb50f8..c1652b1a5 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