]> err.no Git - varnish/commitdiff
Add a bit of variation to the Connection header
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Jul 2008 22:13:29 +0000 (22:13 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Jul 2008 22:13:29 +0000 (22:13 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2942 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/tests/c00016.vtc

index a583e153f3f63057d7a5e4d56188683ffafd0b64..dab83a5a21aad2ce9c7aeb6470f49d661acf346c 100644 (file)
@@ -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