From 90cb8734e665ad851cee46ab499863010705980f Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Thu, 14 Sep 2023 12:59:21 +0200 Subject: [PATCH] vtc: Coverage for h2 empty header in t02023 --- bin/varnishtest/tests/t02023.vtc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/varnishtest/tests/t02023.vtc b/bin/varnishtest/tests/t02023.vtc index 388f3a70ad1..13c4cb4459f 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 {