[master] a5d7ec335 vtc: Test case for backend Keep-Alive filtering

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Oct 5 13:47:06 UTC 2020


commit a5d7ec335d4c4ab109e2cfa15b6784c251035efb
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Sep 29 11:23:22 2020 +0200

    vtc: Test case for backend Keep-Alive filtering
    
    Close #3417

diff --git a/bin/varnishtest/tests/r03417.vtc b/bin/varnishtest/tests/r03417.vtc
new file mode 100644
index 000000000..fcb89f601
--- /dev/null
+++ b/bin/varnishtest/tests/r03417.vtc
@@ -0,0 +1,14 @@
+varnishtest "Filter Keep-Alive out from beresp to resp"
+
+server s1 {
+	rxreq
+	txresp -hdr "Keep-Alive: timeout=5, max=1000"
+} -start
+
+varnish v1 -vcl+backend "" -start
+
+client c1 {
+	txreq
+	rxresp
+	expect resp.http.Keep-Alive == <undef>
+} -run


More information about the varnish-commit mailing list