[6.0] 18fa60f75 Add vtc covering H2 out of workspace

Reza Naghibi reza at naghibi.com
Wed Aug 19 13:15:07 UTC 2020


commit 18fa60f759d18517dc07cbc220ce7572135997ac
Author: Reza Naghibi <reza at naghibi.com>
Date:   Tue Aug 18 18:11:03 2020 -0400

    Add vtc covering H2 out of workspace

diff --git a/bin/varnishtest/tests/r03384.vtc b/bin/varnishtest/tests/r03384.vtc
new file mode 100644
index 000000000..1a00c16e0
--- /dev/null
+++ b/bin/varnishtest/tests/r03384.vtc
@@ -0,0 +1,25 @@
+varnishtest "h/2 delivery double WS_Release"
+
+server s1 {
+	rxreq
+	txresp
+} -start
+
+varnish v1 -cliok "param.set feature +http2"
+
+varnish v1 -vcl+backend {
+	import vtc;
+
+	sub vcl_deliver {
+		vtc.workspace_alloc(client, -5);
+	}
+
+} -start
+
+client c1 {
+	stream 1 {
+		txreq
+		rxresp
+		expect resp.status == 500
+	} -run
+} -run


More information about the varnish-commit mailing list