Skip to content

Commit

Permalink
vtc: Coverage for h2 empty header in t02023
Browse files Browse the repository at this point in the history
  • Loading branch information
dridi committed Sep 26, 2023
1 parent bc3e420 commit 90cb873
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bin/varnishtest/tests/t02023.vtc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
varnishtest "Empty pseudo-headers"
varnishtest "Empty and invalid headers"

server s1 {
rxreq
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 90cb873

Please sign in to comment.