Commit f924e657 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make sure the server is started before we try to use its address.



git-svn-id: http://www.varnish-cache.org/svn/trunk@4361 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e8ca5726
......@@ -4,7 +4,7 @@ test "Torture Varnish with start/stop commands"
server s1 {
rxreq
}
} -start
varnish v1 -vcl+backend { }
......
......@@ -7,7 +7,7 @@ server s1 {
txresp \
-hdr "Connection: close" \
-body "012345\n"
}
} -start
varnish v1 -vcl+backend {
sub vcl_recv {
......@@ -17,8 +17,6 @@ varnish v1 -vcl+backend {
}
} -start
server s1 -start
client c1 {
txreq -req POST -url "/" \
-hdr "Content-Length: 10" \
......
......@@ -8,7 +8,7 @@ server s1 {
-hdr "Foobar: _barf_" \
-hdr "Connection: close" \
-body "012345\n"
}
} -start
varnish v1 -vcl+backend {
sub vcl_fetch {
......@@ -19,8 +19,6 @@ varnish v1 -vcl+backend {
}
} -start
server s1 -start
client c1 {
txreq -url "/"
rxresp
......
......@@ -10,12 +10,10 @@ server s1 {
-hdr "Last-Modified: Sun, 27 Nov 2005 05:41:47 GMT" \
-hdr "Cache-Control: max-age =0" \
-body "012345\n"
}
} -start
varnish v1 -vcl+backend { sub vcl_recv {set req.backend = s1;} } -start
server s1 -start
client c1 {
txreq -url "/"
rxresp
......
......@@ -7,12 +7,10 @@ server s1 {
txresp \
-hdr "Connection: close" \
-body "012345\n"
}
} -start
varnish v1 -arg "-p session_linger=20" -vcl+backend { } -start
server s1 -start
client c1 {
send "GET / HTTP/1.1\r\n\r\n\r\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment