[7.3] b582a1c1c vtc: Coverage for h2 empty header in t02023
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Oct 24 15:08:14 UTC 2023
commit b582a1c1c68c2d6a48dcb5fd11d17e2f5084a55b
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu Sep 14 12:59:21 2023 +0200
vtc: Coverage for h2 empty header in t02023
diff --git a/bin/varnishtest/tests/t02023.vtc b/bin/varnishtest/tests/t02023.vtc
index 388f3a70a..13c4cb445 100644
--- a/bin/varnishtest/tests/t02023.vtc
+++ b/bin/varnishtest/tests/t02023.vtc
@@ -1,4 +1,4 @@
-varnishtest "Empty pseudo-headers"
+varnishtest "Empty and invalid headers"
server s1 {
rxreq
@@ -50,6 +50,14 @@ client c1 {
} -run
} -run
+client c1 {
+ stream 1 {
+ txreq -hdr "empty" ""
+ rxresp
+ expect resp.status == 200
+ } -run
+} -run
+
varnish v1 -vsl_catchup
client c1 {
More information about the varnish-commit
mailing list