From: phk Date: Fri, 11 Jul 2008 22:13:29 +0000 (+0000) Subject: Add a bit of variation to the Connection header X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9828bc00ffcddba341d7d7252d0d423ba2f7f01;p=varnish Add a bit of variation to the Connection header git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2942 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/c00016.vtc b/varnish-cache/bin/varnishtest/tests/c00016.vtc index a583e153..dab83a5a 100644 --- a/varnish-cache/bin/varnishtest/tests/c00016.vtc +++ b/varnish-cache/bin/varnishtest/tests/c00016.vtc @@ -11,7 +11,7 @@ server s1 { rxreq expect req.url == "/bar" expect req.http.Foo == "req.http.Foo" - txresp -hdr "Bar: foo" -hdr "Connection: bar" -body "foobar" + txresp -hdr "Bar: fnry,glyf, FOO ,brok" -hdr "Connection: bar" -body "foobar" } -start varnish v1 -vcl+backend { } -start @@ -21,7 +21,7 @@ client c1 { rxresp expect resp.http.Bar == "foo" - txreq -url "/bar" -hdr "Foo: bar2" -hdr "Connection: Foo" + txreq -url "/bar" -hdr "Foo: bar2" -hdr "Connection: foo, close" rxresp expect req.http.Bar == "req.http.Bar" } -start