[master] 90cb8734e vtc: Coverage for h2 empty header in t02023
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Sep 26 13:02:07 UTC 2023
commit 90cb8734e665ad851cee46ab499863010705980f
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