Making check in include
make[1]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/include'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/include'
Making check in lib
make[1]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/lib'
Making check in libvarnish
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnish'
make  check-TESTS
make[3]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnish'
==================
All 0 tests passed
==================
make[3]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnish'
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnish'
Making check in libvarnishapi
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnishapi'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnishapi'
Making check in libvarnishcompat
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnishcompat'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvarnishcompat'
Making check in libvcl
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvcl'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/lib/libvcl'
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/lib'
make[1]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/lib'
Making check in bin
make[1]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin'
Making check in varnishadm
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishadm'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishadm'
Making check in varnishd
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishd'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishd'
Making check in varnishlog
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishlog'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishlog'
Making check in varnishncsa
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishncsa'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishncsa'
Making check in varnishreplay
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishreplay'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishreplay'
Making check in varnishhist
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishhist'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishhist'
Making check in varnishstat
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishstat'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishstat'
Making check in varnishtop
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishtop'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishtop'
Making check in varnishtest
make[2]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishtest'
make  check-TESTS
make[3]: Entering directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishtest'
#    TEST ././tests/a00000.vtc starting
#    TEST basic default HTTP transactions
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9080 fd is 5
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
###  c1   Closing fd 5
##   c1   Ending
##   s1   Waiting for server
###  s1   shutting fd 4
##   s1   Ending
#    RESETTING after ././tests/a00000.vtc
#    TEST ././tests/a00000.vtc completed
PASS: ./tests/a00000.vtc
#    TEST ././tests/a00001.vtc starting
#    TEST basic default HTTP transactions with expect
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  s1   Accepted socket fd is 4
###  s1   rxreq
###  c1   Connected to 127.0.0.1:9080 fd is 5
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   EXPECT req.request (GET) == GET (GET) match
#### s1   EXPECT req.proto (HTTP/1.1) == HTTP/1.1 (HTTP/1.1) match
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   EXPECT resp.proto (HTTP/1.1) == HTTP/1.1 (HTTP/1.1) match
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.msg (Ok) == Ok (Ok) match
###  c1   Closing fd 5
##   c1   Ending
##   c1   Waiting for client
##   s1   Waiting for server
#    RESETTING after ././tests/a00001.vtc
#    TEST ././tests/a00001.vtc completed
PASS: ./tests/a00001.vtc
#    TEST ././tests/a00002.vtc starting
#    TEST basic default HTTP transactions with expect and options
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9080 fd is 5
#### c1   txreq| PUT /foo HTTP/1.0\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| PUT /foo HTTP/1.0\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | PUT
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.0
#### s1   EXPECT req.request (PUT) == PUT (PUT) match
#### s1   EXPECT req.proto (HTTP/1.0) == HTTP/1.0 (HTTP/1.0) match
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.2 201 Foo\r\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.2 201 Foo\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.2
#### c1   http[ 1] | 201
#### c1   http[ 2] | Foo
#### c1   EXPECT resp.proto (HTTP/1.2) == HTTP/1.2 (HTTP/1.2) match
#### c1   EXPECT resp.status (201) == 201 (201) match
#### c1   EXPECT resp.msg (Foo) == Foo (Foo) match
###  c1   Closing fd 5
##   c1   Ending
##   c1   Waiting for client
##   s1   Waiting for server
###  s1   shutting fd 4
##   s1   Ending
#    RESETTING after ././tests/a00002.vtc
#    TEST ././tests/a00002.vtc completed
PASS: ./tests/a00002.vtc
#    TEST ././tests/a00003.vtc starting
#    TEST dual independent HTTP transactions
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   s2   Starting server
###  s2   listen on 127.0.0.1:9081 (fd 5)
##   s2   Started on 127.0.0.1:9081
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  s1   Accepted socket fd is 4
###  s1   rxreq
###  c1   Connected to 127.0.0.1:9080 fd is 7
#### c1   txreq| PUT /foo HTTP/1.0\r\n
#### c1   txreq| \r\n
#### s1   rxhdr| PUT /foo HTTP/1.0\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | PUT
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.0
#### s1   EXPECT req.request (PUT) == PUT (PUT) match
#### s1   EXPECT req.proto (HTTP/1.0) == HTTP/1.0 (HTTP/1.0) match
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.2 201 Foo\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.2 201 Foo\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.2
#### c1   http[ 1] | 201
#### c1   http[ 2] | Foo
#### c1   EXPECT resp.proto (HTTP/1.2) == HTTP/1.2 (HTTP/1.2) match
#### c1   EXPECT resp.status (201) == 201 (201) match
#### c1   EXPECT resp.msg (Foo) == Foo (Foo) match
###  c1   Closing fd 7
##   c1   Ending
##   c2   Starting client
##   c1   Waiting for client
##   c2   Started
##   c2   Waiting for client
###  c2   Connect to 127.0.0.1:9081
###  s2   Accepted socket fd is 6
###  s2   rxreq
###  c2   Connected to 127.0.0.1:9081 fd is 4
#### c2   txreq| GET / HTTP/1.1\r\n
#### c2   txreq| \r\n
#### s2   rxhdr| GET / HTTP/1.1\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /
#### s2   http[ 2] | HTTP/1.1
#### s2   EXPECT req.request (GET) == GET (GET) match
#### s2   EXPECT req.proto (HTTP/1.1) == HTTP/1.1 (HTTP/1.1) match
#### s2   EXPECT req.url (/) == / (/) match
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| \r\n
###  s2   shutting fd 6
##   s2   Ending
###  c2   rxresp
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   EXPECT resp.proto (HTTP/1.1) == HTTP/1.1 (HTTP/1.1) match
#### c2   EXPECT resp.status (200) == 200 (200) match
#### c2   EXPECT resp.msg (Ok) == Ok (Ok) match
###  c2   Closing fd 4
##   c2   Ending
##   s1   Waiting for server
##   s2   Waiting for server
#    RESETTING after ././tests/a00003.vtc
#    TEST ././tests/a00003.vtc completed
PASS: ./tests/a00003.vtc
#    TEST ././tests/a00004.vtc starting
#    TEST dual shared server HTTP transactions
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
###  s1   Iteration 0
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9080 fd is 5
#### c1   txreq| PUT /foo HTTP/1.0\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| PUT /foo HTTP/1.0\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | PUT
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.0
#### s1   EXPECT req.request (PUT) == PUT (PUT) match
#### s1   EXPECT req.proto (HTTP/1.0) == HTTP/1.0 (HTTP/1.0) match
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.2 201 Foo\r\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.2 201 Foo\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.2
#### c1   http[ 1] | 201
#### c1   http[ 2] | Foo
#### c1   EXPECT resp.proto (HTTP/1.2) == HTTP/1.2 (HTTP/1.2) match
#### c1   EXPECT resp.status (201) == 201 (201) match
#### c1   EXPECT resp.msg (Foo) == Foo (Foo) match
###  c1   Closing fd 5
##   c1   Ending
##   c2   Starting client
##   c1   Waiting for client
##   c2   Started
###  s1   shutting fd 4
###  c2   Connect to 127.0.0.1:9080
###  s1   Iteration 1
##   c2   Waiting for client
###  s1   Accepted socket fd is 5
###  s1   rxreq
###  c2   Connected to 127.0.0.1:9080 fd is 4
#### c2   txreq| PUT /foo HTTP/1.0\r\n
#### c2   txreq| \r\n
###  c2   rxresp
#### s1   rxhdr| PUT /foo HTTP/1.0\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | PUT
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.0
#### s1   EXPECT req.request (PUT) == PUT (PUT) match
#### s1   EXPECT req.proto (HTTP/1.0) == HTTP/1.0 (HTTP/1.0) match
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.2 201 Foo\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 5
##   s1   Ending
#### c2   rxhdr| HTTP/1.2 201 Foo\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.2
#### c2   http[ 1] | 201
#### c2   http[ 2] | Foo
#### c2   EXPECT resp.proto (HTTP/1.2) == HTTP/1.2 (HTTP/1.2) match
#### c2   EXPECT resp.status (201) == 201 (201) match
#### c2   EXPECT resp.msg (Foo) == Foo (Foo) match
###  c2   Closing fd 4
##   c2   Ending
##   s1   Waiting for server
#    RESETTING after ././tests/a00004.vtc
#    TEST ././tests/a00004.vtc completed
PASS: ./tests/a00004.vtc
#    TEST ././tests/a00005.vtc starting
#    TEST dual shared client HTTP transactions
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   s2   Starting server
###  s2   listen on 127.0.0.1:9081 (fd 5)
##   s2   Started on 127.0.0.1:9081
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  s1   Accepted socket fd is 4
###  s1   rxreq
###  c1   Connected to 127.0.0.1:9080 fd is 7
#### c1   txreq| PUT /foo HTTP/1.0\r\n
#### c1   txreq| \r\n
#### s1   rxhdr| PUT /foo HTTP/1.0\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | PUT
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.0
#### s1   EXPECT req.request (PUT) == PUT (PUT) match
#### s1   EXPECT req.proto (HTTP/1.0) == HTTP/1.0 (HTTP/1.0) match
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.2 201 Foo\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.2 201 Foo\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.2
#### c1   http[ 1] | 201
#### c1   http[ 2] | Foo
#### c1   EXPECT resp.proto (HTTP/1.2) == HTTP/1.2 (HTTP/1.2) match
#### c1   EXPECT resp.status (201) == 201 (201) match
#### c1   EXPECT resp.msg (Foo) == Foo (Foo) match
###  c1   Closing fd 7
##   c1   Ending
##   c1   Waiting for client
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  s2   Accepted socket fd is 6
###  s2   rxreq
###  c1   Connected to 127.0.0.1:9081 fd is 4
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
#### s2   rxhdr| GET / HTTP/1.1\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /
#### s2   http[ 2] | HTTP/1.1
#### s2   EXPECT req.request (GET) == GET (GET) match
#### s2   EXPECT req.proto (HTTP/1.1) == HTTP/1.1 (HTTP/1.1) match
#### s2   EXPECT req.url (/) == / (/) match
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| \r\n
###  s2   shutting fd 6
##   s2   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   EXPECT resp.proto (HTTP/1.1) == HTTP/1.1 (HTTP/1.1) match
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.msg (Ok) == Ok (Ok) match
###  c1   Closing fd 4
##   c1   Ending
##   s1   Waiting for server
##   s2   Waiting for server
#    RESETTING after ././tests/a00005.vtc
#    TEST ././tests/a00005.vtc completed
PASS: ./tests/a00005.vtc
#    TEST ././tests/a00006.vtc starting
#    TEST bidirectional message bodies
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  s1   Accepted socket fd is 4
###  s1   rxreq
###  c1   Connected to 127.0.0.1:9080 fd is 5
#### c1   txreq| PUT /foo HTTP/1.0\r\n
#### c1   txreq| Content-Length: 10\r\n
#### c1   txreq| \r\n
#### c1   txreq| 123456789\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| PUT /foo HTTP/1.0\r\n
#### s1   rxhdr| Content-Length: 10\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | PUT
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.0
#### s1   http[ 3] | Content-Length: 10
#### s1   body| 123456789\n
#### s1   EXPECT req.request (PUT) == PUT (PUT) match
#### s1   EXPECT req.proto (HTTP/1.0) == HTTP/1.0 (HTTP/1.0) match
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.2 201 Foo\r\n
#### s1   txresp| Content-Length: 10\r\n
#### s1   txresp| \r\n
#### s1   txresp| 987654321\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.2 201 Foo\r\n
#### c1   rxhdr| Content-Length: 10\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.2
#### c1   http[ 1] | 201
#### c1   http[ 2] | Foo
#### c1   http[ 3] | Content-Length: 10
#### c1   body| 987654321\n
#### c1   EXPECT resp.proto (HTTP/1.2) == HTTP/1.2 (HTTP/1.2) match
#### c1   EXPECT resp.status (201) == 201 (201) match
#### c1   EXPECT resp.msg (Foo) == Foo (Foo) match
###  c1   Closing fd 5
##   c1   Ending
##   c1   Waiting for client
##   s1   Waiting for server
#    RESETTING after ././tests/a00006.vtc
#    TEST ././tests/a00006.vtc completed
PASS: ./tests/a00006.vtc
#    TEST ././tests/a00007.vtc starting
#    TEST TCP reuse
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9080 fd is 5
#### c1   txreq| POST /1 HTTP/1.1\r\n
#### c1   txreq| Content-Length: 10\r\n
#### c1   txreq| \r\n
#### c1   txreq| abcdefghi\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| POST /1 HTTP/1.1\r\n
#### s1   rxhdr| Content-Length: 10\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | POST
#### s1   http[ 1] | /1
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Content-Length: 10
#### s1   body| abcdefghi\n
#### s1   EXPECT req.url (/1) == /1 (/1) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 10\r\n
#### s1   txresp| \r\n
#### s1   txresp| 123456789\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 10\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 10
#### c1   body| 123456789\n
#### c1   txreq| POST /2 HTTP/1.1\r\n
#### c1   txreq| Content-Length: 10\r\n
#### c1   txreq| \r\n
#### c1   txreq| ihgfedcba\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   rxreq
#### s1   rxhdr| \r\n
#### s1   rxhdr| POST /2 HTTP/1.1\r\n
#### s1   rxhdr| Content-Length: 10\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | POST
#### s1   http[ 1] | /2
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Content-Length: 10
#### s1   body| ihgfedcba\n
#### s1   EXPECT req.url (/2) == /2 (/2) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 10\r\n
#### s1   txresp| \r\n
#### s1   txresp| 987654321\n
#### s1   txresp| \r\n
#### c1   rxhdr| \r\n
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 10\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 10
#### c1   body| 987654321\n
###  c1   Closing fd 5
##   c1   Ending
##   s1   Waiting for server
###  s1   shutting fd 4
Assert error in server_thread(), vtc_server.c line 100:
  Condition((shutdown(fd, SHUT_WR)) == 0) not true.
  errno = 107 (Transport endpoint is not connected)
/bin/sh: line 4: 17377 Avbrutt (SIGABRT)       ./varnishtest -v ${dir}$tst
FAIL: ./tests/a00007.vtc
#    TEST ././tests/a00008.vtc starting
#    TEST Sema operations
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s2   Starting server
##   s1   Started on 127.0.0.1:9080
###  s2   listen on 127.0.0.1:9081 (fd 4)
##   s3   Starting server
##   s2   Started on 127.0.0.1:9081
###  s3   listen on 127.0.0.1:9082 (fd 6)
##   c1   Starting client
##   s3   Started on 127.0.0.1:9082
##   c2   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9080
##   c2   Started
###  c2   Connect to 127.0.0.1:9081
###  s1   Accepted socket fd is 5
###  s2   Accepted socket fd is 7
###  s1   rxreq
###  s2   rxreq
###  c1   Connected to 127.0.0.1:9080 fd is 9
###  c2   Connected to 127.0.0.1:9081 fd is 10
##   c3   Starting client
##   c3   Started
###  c3   Connect to 127.0.0.1:9082
###  s3   Accepted socket fd is 8
###  s3   rxreq
###  c3   Connected to 127.0.0.1:9082 fd is 11
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### c2   txreq| GET / HTTP/1.1\r\n
#### c2   txreq| \r\n
#### s2   rxhdr| GET / HTTP/1.1\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /
#### s2   http[ 2] | HTTP/1.1
###  c2   rxresp
#### c3   txreq| GET / HTTP/1.1\r\n
#### c3   txreq| \r\n
#### s3   rxhdr| GET / HTTP/1.1\r\n
#### s3   rxhdr| \r\n
#### s3   http[ 0] | GET
#### s3   http[ 1] | /
#### s3   http[ 2] | HTTP/1.1
#### r1   Wake 4
###  c3   rxresp
#### s3   txresp| HTTP/1.1 200 Ok\r\n
#### s3   txresp| \r\n
###  s3   shutting fd 8
##   s3   Ending
#### c3   rxhdr| HTTP/1.1 200 Ok\r\n
#### c3   rxhdr| \r\n
#### c3   http[ 0] | HTTP/1.1
#### c3   http[ 1] | 200
#### c3   http[ 2] | Ok
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| \r\n
###  s2   shutting fd 7
##   s2   Ending
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 5
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### r1   Wake 4
###  c1   Closing fd 9
#    RESETTING after ././tests/a00008.vtc
##   s1   Waiting for server
##   c1   Ending
##   s2   Waiting for server
###  c3   Closing fd 11
###  c2   Closing fd 10
##   c3   Ending
##   c2   Ending
##   s3   Waiting for server
##   c1   Waiting for client
##   c2   Waiting for client
##   c3   Waiting for client
#    TEST ././tests/a00008.vtc completed
PASS: ./tests/a00008.vtc
#    TEST ././tests/b00000.vtc starting
#    TEST Does anything get through at all ?
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
##   s1   Started on 127.0.0.1:9080
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.IEEZv7 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 4
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17471) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17471) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17471) said Child starts\n
#### v1   debug| Child (17471) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17471) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   v1   as expected: n_object (0) == 0
##   v1   as expected: client_conn (0) == 0
##   v1   as expected: client_req (0) == 0
##   v1   as expected: cache_miss (0) == 0
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:43 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:43 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
##   v1   as expected: n_object (1) == 1
##   v1   as expected: client_conn (1) == 1
##   v1   as expected: client_req (1) == 1
##   v1   as expected: cache_miss (1) == 1
##   v1   as expected: s_sess (1) == 1
##   v1   as expected: s_req (1) == 1
#    RESETTING after ././tests/b00000.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (17471) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17471) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17442 Status: 0200
#    TEST ././tests/b00000.vtc completed
PASS: ./tests/b00000.vtc
#    TEST ././tests/b00001.vtc starting
#    TEST Check that a pipe transaction works
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.rK8cLh (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_recv {\n\t\tpipe;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17531) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17531) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17531) said Child starts\n
#### v1   debug| Child (17531) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17531) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
##   v1   as expected: n_object (0) == 0
##   v1   as expected: client_conn (1) == 1
##   v1   as expected: client_req (1) == 1
##   v1   as expected: s_sess (1) == 1
##   v1   as expected: s_req (1) == 1
##   v1   as expected: s_pipe (1) == 1
#    RESETTING after ././tests/b00001.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17531) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17531) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17506 Status: 0200
#    TEST ././tests/b00001.vtc completed
PASS: ./tests/b00001.vtc
#    TEST ././tests/b00002.vtc starting
#    TEST Check that a pass transaction works
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.21u5bx (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_recv {\n\t\tpass;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17590) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17590) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17590) said Child starts\n
#### v1   debug| Child (17590) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17590) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:45 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:45 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
##   v1   as expected: n_object (0) == 0
##   v1   as expected: client_conn (1) == 1
##   v1   as expected: client_req (1) == 1
##   v1   as expected: s_sess (1) == 1
##   v1   as expected: s_req (1) == 1
##   v1   as expected: s_pass (1) == 1
#    RESETTING after ././tests/b00002.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17590) said EOF on CLI connection, exiting\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (17590) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17567 Status: 0200
#    TEST ././tests/b00002.vtc completed
PASS: ./tests/b00002.vtc
#    TEST ././tests/b00003.vtc starting
#    TEST Check that a cache fetch + hit transaction works
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.vG4YyO (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17650) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17650) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17650) said Child starts\n
#### v1   debug| Child (17650) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17650) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:47 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:47 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
###  c1   Closing fd 9
##   c1   Ending
##   c2   Starting client
##   c2   Started
###  c2   Connect to 127.0.0.1:9081
###  c2   Connected to 127.0.0.1:9081 fd is 4
#### c2   txreq| GET / HTTP/1.1\r\n
#### c2   txreq| \r\n
###  c2   rxresp
##   c2   Waiting for client
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Content-Length: 7\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:08:47 GMT\r\n
#### c2   rxhdr| X-Varnish: 1002 1001\r\n
#### c2   rxhdr| Age: 0\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Content-Length: 7
#### c2   http[ 4] | Date: Fri, 22 Aug 2008 07:08:47 GMT
#### c2   http[ 5] | X-Varnish: 1002 1001
#### c2   http[ 6] | Age: 0
#### c2   http[ 7] | Via: 1.1 varnish
#### c2   http[ 8] | Connection: keep-alive
#### c2   body| 012345\n
#### c2   EXPECT resp.status (200) == 200 (200) match
#### c2   EXPECT resp.http.X-Varnish (1002 1001) == 1002 1001 (1002 1001) match
###  c2   Closing fd 4
##   c2   Ending
##   v1   as expected: client_conn (2) == 2
##   v1   as expected: cache_hit (1) == 1
##   v1   as expected: cache_miss (1) == 1
##   v1   as expected: client_req (2) == 2
##   v1   as expected: s_sess (2) == 2
##   v1   as expected: s_req (2) == 2
##   v1   as expected: s_fetch (1) == 1
#    RESETTING after ././tests/b00003.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17650) said EOF on CLI connection, exiting\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (17650) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17626 Status: 0200
#    TEST ././tests/b00003.vtc completed
PASS: ./tests/b00003.vtc
#    TEST ././tests/b00004.vtc starting
#    TEST Torture Varnish with start/stop commands
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.T2a7RZ (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17709) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17709) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17709) said Child starts\n
#### v1   debug| Child (17709) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17709) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (17709) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17709) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17720) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17720) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17720) said Child starts\n
#### v1   debug| Child (17720) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17720) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17720) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17720) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17731) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17731) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17731) said Child starts\n
#### v1   debug| Child (17731) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17731) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17731) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17731) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
#### v1   CLI TX| start
#### v1   debug| child (17742) Started\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <start>
#### v1   CLI TX| start
#### v1   debug| Child (17742) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17742) said Child starts\n
#### v1   debug| Child (17742) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17742) said Ready\n
#### v1   CLI RX| Child in state running
###  v1   CLI STATUS 300
##   v1   CLI 300 <start>
#### v1   CLI TX| start
#### v1   CLI RX| Child in state running
###  v1   CLI STATUS 300
##   v1   CLI 300 <start>
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
##   v1   CLI 200 <stop>
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17742) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17742) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
##   v1   CLI 300 <stop>
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
##   v1   CLI 300 <stop>
##   v1   Stop
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17686 Status: 0200
#    RESETTING after ././tests/b00004.vtc
#    TEST ././tests/b00004.vtc completed
PASS: ./tests/b00004.vtc
#    TEST ././tests/b00005.vtc starting
#    TEST Check that -s works
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -s file,varnishtest_backing,10M
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| storage_file: filename: varnishtest_backing size 10 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17797) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17797) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17797) said Child starts\n
#### v1   debug| Child (17797) said managed to mmap 10485760 bytes of 10485760\n
#### v1   debug| Child (17797) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:49 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:49 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17797) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17797) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
####      shell| rm ../varnishd/varnishtest_backing
#    RESETTING after ././tests/b00005.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17774 Status: 0200
#    TEST ././tests/b00005.vtc completed
PASS: ./tests/b00005.vtc
#    TEST ././tests/b00006.vtc starting
#    TEST Check that -s malloc works
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -s malloc
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17855) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17855) said Closed fds: 4 6 7 10 11 13 14\n
#### v1   debug| Child (17855) said Child starts\n
#### v1   debug| Child (17855) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:51 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:51 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/b00006.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (17855) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17855) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17832 Status: 0200
#    TEST ././tests/b00006.vtc completed
PASS: ./tests/b00006.vtc
#    TEST ././tests/b00007.vtc starting
#    TEST Check chunked encoding from backend works
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.JnekT7 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17912) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17912) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17912) said Child starts\n
#### v1   debug| Child (17912) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17912) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /bar HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/bar) == /bar (/bar) match
#### s1   send| HTTP/1.1 200 Ok\r\n
#### s1   send| Transfer-encoding: chunked\r\n
#### s1   send| \r\n
#### s1   send| 00000004\r\n
#### s1   send| 1234\r\n
#### s1   send| 00000000\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 4\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:52 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 4
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:52 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 1234
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (4) == 4 (4) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   send| HTTP/1.1 200 Ok\r\n
#### s1   send| Transfer-encoding: chunked\r\n
#### s1   send| \r\n
#### s1   send| 00000004\r\n
#### s1   send| 1234\r\n
#### s1   chunked| 4\r\n
#### s1   chunked| 1234\r\n
#### s1   chunked| 0\r\n
#### s1   chunked| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 8\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:52 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 8
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:52 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 12341234
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (8) == 8 (8) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/b00007.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17912) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17912) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17889 Status: 0200
#    TEST ././tests/b00007.vtc completed
PASS: ./tests/b00007.vtc
#    TEST ././tests/b00008.vtc starting
#    TEST Test CLI help and parameter functions
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -b 127.0.0.2:9080
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.luumbb (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| help
#### v1   CLI RX| help [command]\n
#### v1   CLI RX| ping [timestamp]\n
#### v1   CLI RX| status\n
#### v1   CLI RX| start\n
#### v1   CLI RX| stop\n
#### v1   CLI RX| stats\n
#### v1   CLI RX| vcl.load <configname> <filename>\n
#### v1   CLI RX| vcl.inline <configname> <quoted_VCLstring>\n
#### v1   CLI RX| vcl.use <configname>\n
#### v1   CLI RX| vcl.discard <configname>\n
#### v1   CLI RX| vcl.list\n
#### v1   CLI RX| vcl.show <configname>\n
#### v1   CLI RX| param.show [-l] [<param>]\n
#### v1   CLI RX| param.set <param> <value>\n
#### v1   CLI RX| quit\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <help>
#### v1   CLI TX| param.show
#### v1   CLI RX| user                       nobody (99)\n
#### v1   CLI RX| group                      nobody (99)\n
#### v1   CLI RX| default_ttl                120 [seconds]\n
#### v1   CLI RX| thread_pools               2 [pools]\n
#### v1   CLI RX| thread_pool_max            500 [threads]\n
#### v1   CLI RX| thread_pool_min            5 [threads]\n
#### v1   CLI RX| thread_pool_timeout        300 [seconds]\n
#### v1   CLI RX| thread_pool_purge_delay    1000 [milliseconds]\n
#### v1   CLI RX| thread_pool_add_threshold  2 [requests]\n
#### v1   CLI RX| thread_pool_add_delay      20 [milliseconds]\n
#### v1   CLI RX| thread_pool_fail_delay     200 [milliseconds]\n
#### v1   CLI RX| overflow_max               100 [%]\n
#### v1   CLI RX| rush_exponent              3 [requests per request]\n
#### v1   CLI RX| sess_workspace             8192 [bytes]\n
#### v1   CLI RX| obj_workspace              8192 [bytes]\n
#### v1   CLI RX| default_grace              10\n
#### v1   CLI RX| sess_timeout               5 [seconds]\n
#### v1   CLI RX| pipe_timeout               60 [seconds]\n
#### v1   CLI RX| send_timeout               600 [seconds]\n
#### v1   CLI RX| auto_restart               on [bool]\n
#### v1   CLI RX| fetch_chunksize            128 [kilobytes]\n
#### v1   CLI RX| vcl_trace                  off [bool]\n
#### v1   CLI RX| listen_address             127.0.0.1:9081\n
#### v1   CLI RX| listen_depth               1024 [connections]\n
#### v1   CLI RX| srcaddr_hash               1049 [buckets]\n
#### v1   CLI RX| srcaddr_ttl                30 [seconds]\n
#### v1   CLI RX| backend_http11             off [bool]\n
#### v1   CLI RX| client_http11              off [bool]\n
#### v1   CLI RX| cli_timeout                5 [seconds]\n
#### v1   CLI RX| ping_interval              3 [seconds]\n
#### v1   CLI RX| lru_interval               2 [seconds]\n
#### v1   CLI RX| cc_command                 "exec cc -fpic -shared -Wl,-x -o %o %s"\n
#### v1   CLI RX| max_restarts               4 [restarts]\n
#### v1   CLI RX| esi_syntax                 0 [restarts]\n
#### v1   CLI RX| max_esi_includes           5 [restarts]\n
#### v1   CLI RX| cache_vbe_conns            off [bool]\n
#### v1   CLI RX| connect_timeout            400 [ms]\n
#### v1   CLI RX| clock_skew                 10 [s]\n
#### v1   CLI RX| prefer_ipv6                off [bool]\n
#### v1   CLI RX| session_linger             0 [ms]\n
#### v1   CLI RX| cli_buffer                 8192 [bytes]\n
#### v1   CLI RX| log_hashstring             off [bool]\n
#### v1   CLI RX| log_local_address          off [bool]\n
#### v1   CLI RX| acceptor                   default (epoll, poll)\n
#### v1   CLI RX| diag_bitmap                0x0 [bitmap]\n
#### v1   CLI RX| err_ttl                    0 [seconds]\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.show>
#### v1   CLI TX| param.show diag_bitmap
#### v1   CLI RX| diag_bitmap                0x0 [bitmap]\n
#### v1   CLI RX|                            Default is 0\n
#### v1   CLI RX|                            Bitmap controlling diagnostics code:\n
#### v1   CLI RX|                              0x00000001 - CNT_Session states.\n
#### v1   CLI RX|                              0x00000002 - workspace debugging.\n
#### v1   CLI RX|                              0x00000004 - kqueue debugging.\n
#### v1   CLI RX|                              0x00000008 - mutex logging.\n
#### v1   CLI RX|                              0x00000010 - mutex contests.\n
#### v1   CLI RX|                              0x00000020 - waiting list.\n
#### v1   CLI RX|                              0x00000040 - object workspace.\n
#### v1   CLI RX|                              0x00001000 - do not core-dump child process.\n
#### v1   CLI RX|                              0x00002000 - only short panic message.\n
#### v1   CLI RX|                              0x00004000 - panic to stderr.\n
#### v1   CLI RX|                            Use 0x notation and do the bitor in your head :-)\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.show diag_bitmap>
#### v1   CLI TX| param.set diag_bitmap 0x40
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.set diag_bitmap 0x40>
#### v1   CLI TX| param.set diag_bitmap 0x0
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.set diag_bitmap 0x0>
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (17968) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (17968) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (17968) said Child starts\n
#### v1   debug| Child (17968) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (17968) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
#### v1   CLI TX| help
#### v1   CLI RX| help [command]\n
#### v1   CLI RX| ping [timestamp]\n
#### v1   CLI RX| status\n
#### v1   CLI RX| start\n
#### v1   CLI RX| stop\n
#### v1   CLI RX| stats\n
#### v1   CLI RX| vcl.load <configname> <filename>\n
#### v1   CLI RX| vcl.inline <configname> <quoted_VCLstring>\n
#### v1   CLI RX| vcl.use <configname>\n
#### v1   CLI RX| vcl.discard <configname>\n
#### v1   CLI RX| vcl.list\n
#### v1   CLI RX| vcl.show <configname>\n
#### v1   CLI RX| param.show [-l] [<param>]\n
#### v1   CLI RX| param.set <param> <value>\n
#### v1   CLI RX| quit\n
#### v1   CLI RX| purge.url <regexp>\n
#### v1   CLI RX| purge.hash <regexp>\n
#### v1   CLI RX| purge.list\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <help>
#### v1   CLI TX| stats
#### v1   CLI RX|            0  Client connections accepted\n
#### v1   CLI RX|            0  Client requests received\n
#### v1   CLI RX|            0  Cache hits\n
#### v1   CLI RX|            0  Cache hits for pass\n
#### v1   CLI RX|            0  Cache misses\n
#### v1   CLI RX|            0  Backend connections success\n
#### v1   CLI RX|            0  Backend connections failures\n
#### v1   CLI RX|            0  Backend connections reuses\n
#### v1   CLI RX|            0  Backend connections recycles\n
#### v1   CLI RX|            0  Backend connections unused\n
#### v1   CLI RX|            0  N struct srcaddr\n
#### v1   CLI RX|            0  N active struct srcaddr\n
#### v1   CLI RX|            1  N struct sess_mem\n
#### v1   CLI RX|            1  N struct sess\n
#### v1   CLI RX|            0  N struct object\n
#### v1   CLI RX|            0  N struct objecthead\n
#### v1   CLI RX|            3  N struct smf\n
#### v1   CLI RX|            0  N small free smf\n
#### v1   CLI RX|            3  N large free smf\n
#### v1   CLI RX|            0  N struct vbe_conn\n
#### v1   CLI RX|            0  N struct bereq\n
#### v1   CLI RX|            0  N worker threads\n
#### v1   CLI RX|            7  N worker threads created\n
#### v1   CLI RX|            0  N worker threads not created\n
#### v1   CLI RX|            0  N worker threads limited\n
#### v1   CLI RX|            0  N queued work requests\n
#### v1   CLI RX|            0  N overflowed work requests\n
#### v1   CLI RX|            0  N dropped work requests\n
#### v1   CLI RX|            1  N backends\n
#### v1   CLI RX|            0  N expired objects\n
#### v1   CLI RX|            0  N LRU nuked objects\n
#### v1   CLI RX|            0  N LRU saved objects\n
#### v1   CLI RX|            0  N LRU moved objects\n
#### v1   CLI RX|            0  N objects on deathrow\n
#### v1   CLI RX|            0  HTTP header overflows\n
#### v1   CLI RX|            0  Objects sent with sendfile\n
#### v1   CLI RX|            0  Objects sent with write\n
#### v1   CLI RX|            0  Objects overflowing workspace\n
#### v1   CLI RX|            0  Total Sessions\n
#### v1   CLI RX|            0  Total Requests\n
#### v1   CLI RX|            0  Total pipe\n
#### v1   CLI RX|            0  Total pass\n
#### v1   CLI RX|            0  Total fetch\n
#### v1   CLI RX|            0  Total header bytes\n
#### v1   CLI RX|            0  Total body bytes\n
#### v1   CLI RX|            0  Session Closed\n
#### v1   CLI RX|            0  Session Pipeline\n
#### v1   CLI RX|            0  Session Read Ahead\n
#### v1   CLI RX|            0  Session Linger\n
#### v1   CLI RX|            0  Session herd\n
#### v1   CLI RX|           18  SHM records\n
#### v1   CLI RX|           18  SHM writes\n
#### v1   CLI RX|            0  SHM flushes due to overflow\n
#### v1   CLI RX|            0  SHM MTX contention\n
#### v1   CLI RX|            0  SHM cycles through buffer\n
#### v1   CLI RX|            0  allocator requests\n
#### v1   CLI RX|            0  outstanding allocations\n
#### v1   CLI RX|            0  bytes allocated\n
#### v1   CLI RX|   2147479552  bytes free\n
#### v1   CLI RX|            0  SMA allocator requests\n
#### v1   CLI RX|            0  SMA outstanding allocations\n
#### v1   CLI RX|            0  SMA outstanding bytes\n
#### v1   CLI RX|            0  SMA bytes allocated\n
#### v1   CLI RX|            0  SMA bytes free\n
#### v1   CLI RX|            0  SMS allocator requests\n
#### v1   CLI RX|            0  SMS outstanding allocations\n
#### v1   CLI RX|            0  SMS outstanding bytes\n
#### v1   CLI RX|            0  SMS bytes allocated\n
#### v1   CLI RX|            0  SMS bytes free\n
#### v1   CLI RX|            0  Backend requests made\n
#### v1   CLI RX|            1  N vcl total\n
#### v1   CLI RX|            1  N vcl available\n
#### v1   CLI RX|            0  N vcl discarded\n
#### v1   CLI RX|            1  N total active purges\n
#### v1   CLI RX|            1  N new purges added\n
#### v1   CLI RX|            0  N old purges deleted\n
#### v1   CLI RX|            0  N objects tested\n
#### v1   CLI RX|            0  N regexps tested against\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <stats>
#    RESETTING after ././tests/b00008.vtc
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (17968) said EOF on CLI connection, exiting\n
#### v1   debug| Child (17968) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 17945 Status: 0200
#    TEST ././tests/b00008.vtc completed
PASS: ./tests/b00008.vtc
#    TEST ././tests/b00009.vtc starting
#    TEST Check poll acceptor
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -p acceptor=poll
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.BBhEer (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18025) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18025) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18025) said Child starts\n
#### v1   debug| Child (18025) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18025) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:54 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:54 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/b00009.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18025) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18025) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18002 Status: 0200
#    TEST ././tests/b00009.vtc completed
PASS: ./tests/b00009.vtc
#    TEST ././tests/b00010.vtc starting
#    TEST Check simple list hasher
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -h simple_list
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.yfi65y (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18082) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18082) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18082) said Child starts\n
#### v1   debug| Child (18082) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18082) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:55 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:55 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:55 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:55 GMT
#### c1   http[ 5] | X-Varnish: 1002 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.x-varnish (1002 1001) == 1002 1001 (1002 1001) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/b00010.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18082) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18082) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18059 Status: 0200
#    TEST ././tests/b00010.vtc completed
PASS: ./tests/b00010.vtc
#    TEST ././tests/b00011.vtc starting
#    TEST Check HTTP/1.0 EOF transmission
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.i1WJjH (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18139) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18139) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18139) said Child starts\n
#### v1   debug| Child (18139) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18139) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| \r\n
#### s1   send| Body line 1\n
#### s1   send| Body line 2\n
#### s1   send| Body line 3\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 36\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:56 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 36
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:56 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| Body line 1\n
#### c1   body| Body line 2\n
#### c1   body| Body line 3\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (36) == 36 (36) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/b00011.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18139) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18139) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18116 Status: 0200
#    TEST ././tests/b00011.vtc completed
PASS: ./tests/b00011.vtc
#    TEST ././tests/b00012.vtc starting
#    TEST Check pipelining
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.2HRVqQ (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18196) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18196) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18196) said Child starts\n
#### v1   debug| Child (18196) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18196) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   send| GET /foo HTTP/1.1\n
#### c1   send| \n
#### c1   send| GET /bar HTTP/1.1\n
#### c1   send| \n
#### c1   send| GET /bar HTTP/1.1\n
#### c1   send| \n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 3\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 3\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:57 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 3
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:57 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (3) == 3 (3) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
###  c1   rxresp
#### s1   rxhdr| GET /bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/bar) == /bar (/bar) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:57 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:57 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:57 GMT\r\n
#### c1   rxhdr| X-Varnish: 1003 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:57 GMT
#### c1   http[ 5] | X-Varnish: 1003 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1003 1002) == 1003 1002 (1003 1002) match
###  c1   Closing fd 9
##   c1   Ending
##   v1   as expected: sess_pipeline (2) == 2
#    RESETTING after ././tests/b00012.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18196) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18196) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18173 Status: 0200
#    TEST ././tests/b00012.vtc completed
PASS: ./tests/b00012.vtc
#    TEST ././tests/b00013.vtc starting
#    TEST Check read-head / partial pipelining
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.odf017 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18253) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18253) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18253) said Child starts\n
#### v1   debug| Child (18253) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18253) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   send| GET /foo HTTP/1.1\n
#### c1   send| \n
#### c1   send| GET 
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 3\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 3\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:58 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 3
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:58 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (3) == 3 (3) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
#### c1   send| /bar HTTP/1.1\n
#### c1   send| \n
#### c1   send| GET /bar 
###  c1   rxresp
#### s1   rxhdr| GET /bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/bar) == /bar (/bar) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:58 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:58 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
#### c1   send| HTTP/1.1\n
#### c1   send| \n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:08:58 GMT\r\n
#### c1   rxhdr| X-Varnish: 1003 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:08:58 GMT
#### c1   http[ 5] | X-Varnish: 1003 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1003 1002) == 1003 1002 (1003 1002) match
###  c1   Closing fd 9
##   c1   Ending
##   v1   as expected: sess_readahead (2) == 2
#    RESETTING after ././tests/b00013.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18253) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18253) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18230 Status: 0200
#    TEST ././tests/b00013.vtc completed
PASS: ./tests/b00013.vtc
#    TEST ././tests/b00014.vtc starting
#    TEST Check -f command line arg
####      shell| echo 'backend foo { .host = "127.0.0.1"; .port = "9080"; }' > /tmp/_b00014.vcl
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -f /tmp/_b00014.vcl
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.xp4vgt (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18310) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18310) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18310) said Child starts\n
#### v1   debug| Child (18310) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18310) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
##   s1   Started on 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 3\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 3\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:00 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 3
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:00 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo
###  c1   Closing fd 9
##   c1   Ending
#### v1   CLI TX| vcl.load foo /tmp/_b00014.vcl
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.load foo /tmp/_b00014.vcl>
#### v1   CLI TX| vcl.use foo
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.use foo>
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /bar HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/bar) == /bar (/bar) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 3\r\n
#### s1   txresp| \r\n
#### s1   txresp| bar\r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 3\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:00 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 3
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:00 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| bar
###  c1   Closing fd 9
##   c1   Ending
####      shell| rm -f /tmp/_b00014.vcl
#    RESETTING after ././tests/b00014.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18310) ended\n
#### v1   debug| Child (-1) said EOF on CLI connection, exiting\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18287 Status: 0200
#    TEST ././tests/b00014.vtc completed
PASS: ./tests/b00014.vtc
#    TEST ././tests/b00015.vtc starting
#    TEST Check synthetic error page caching
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.v90CsB (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 " \n\tbackend foo {\n\t\t.host = \"127.0.0.2\";\n\t\t.port = \"9080\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18376) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18376) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18376) said Child starts\n
#### v1   debug| Child (18376) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18376) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 7
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 503 Service Unavailable\r\n
#### c1   rxhdr| Server: Varnish\r\n
#### c1   rxhdr| Retry-After: 0\r\n
#### c1   rxhdr| Content-Type: text/html; charset=utf-8\r\n
#### c1   rxhdr| Content-Length: 447\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:01 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 503
#### c1   http[ 2] | Service Unavailable
#### c1   http[ 3] | Server: Varnish
#### c1   http[ 4] | Retry-After: 0
#### c1   http[ 5] | Content-Type: text/html; charset=utf-8
#### c1   http[ 6] | Content-Length: 447
#### c1   http[ 7] | Date: Fri, 22 Aug 2008 07:09:01 GMT
#### c1   http[ 8] | X-Varnish: 1001
#### c1   http[ 9] | Age: 0
#### c1   http[10] | Via: 1.1 varnish
#### c1   http[11] | Connection: keep-alive
#### c1   body| \n
#### c1   body| <?xml version="1.0" encoding="utf-8"?>\n
#### c1   body| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
#### c1   body|  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n
#### c1   body| <html>\n
#### c1   body|   <head>\n
#### c1   body|     <title>503 Service Unavailable</title>\n
#### c1   body|   </head>\n
#### c1   body|   <body>\n
#### c1   body|     <h1>Error 503 Service Unavailable</h1>\n
#### c1   body|     <p>Service Unavailable</p>\n
#### c1   body|     <h3>Guru Meditation:</h3>\n
#### c1   body|     <p>XID: 1001</p>\n
#### c1   body|     <address><a href="http://www.varnish-cache.org/">Varnish</a></address>\n
#### c1   body|   </body>\n
#### c1   body| </html>\n
#### c1   EXPECT resp.status (503) == 503 (503) match
#### c1   EXPECT resp.http.X-varnish (1001) == 1001 (1001) match
###  c1   Closing fd 7
##   c1   Ending
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 7
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 503 Service Unavailable\r\n
#### c1   rxhdr| Server: Varnish\r\n
#### c1   rxhdr| Retry-After: 0\r\n
#### c1   rxhdr| Content-Type: text/html; charset=utf-8\r\n
#### c1   rxhdr| Content-Length: 447\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:01 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 503
#### c1   http[ 2] | Service Unavailable
#### c1   http[ 3] | Server: Varnish
#### c1   http[ 4] | Retry-After: 0
#### c1   http[ 5] | Content-Type: text/html; charset=utf-8
#### c1   http[ 6] | Content-Length: 447
#### c1   http[ 7] | Date: Fri, 22 Aug 2008 07:09:01 GMT
#### c1   http[ 8] | X-Varnish: 1002
#### c1   http[ 9] | Age: 0
#### c1   http[10] | Via: 1.1 varnish
#### c1   http[11] | Connection: keep-alive
#### c1   body| \n
#### c1   body| <?xml version="1.0" encoding="utf-8"?>\n
#### c1   body| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
#### c1   body|  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n
#### c1   body| <html>\n
#### c1   body|   <head>\n
#### c1   body|     <title>503 Service Unavailable</title>\n
#### c1   body|   </head>\n
#### c1   body|   <body>\n
#### c1   body|     <h1>Error 503 Service Unavailable</h1>\n
#### c1   body|     <p>Service Unavailable</p>\n
#### c1   body|     <h3>Guru Meditation:</h3>\n
#### c1   body|     <p>XID: 1002</p>\n
#### c1   body|     <address><a href="http://www.varnish-cache.org/">Varnish</a></address>\n
#### c1   body|   </body>\n
#### c1   body| </html>\n
#### c1   EXPECT resp.status (503) == 503 (503) match
#### c1   EXPECT resp.http.X-varnish (1002) == 1002 (1002) match
###  c1   Closing fd 7
##   c1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Started on 127.0.0.1:9080
#### v1   CLI TX| vcl.inline vcl2 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1003\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1003
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 302 Ok\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 8
##   s1   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 302 Ok\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:01 GMT\r\n
#### c1   rxhdr| X-Varnish: 1003\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 302
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:01 GMT
#### c1   http[ 4] | X-Varnish: 1003
#### c1   http[ 5] | Age: 0
#### c1   http[ 6] | Via: 1.1 varnish
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (302) == 302 (302) match
#### c1   EXPECT resp.http.X-varnish (1003) == 1003 (1003) match
###  c1   Closing fd 9
##   c1   Ending
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 8
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 302 Ok\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:01 GMT\r\n
#### c1   rxhdr| X-Varnish: 1004 1003\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 302
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:01 GMT
#### c1   http[ 4] | X-Varnish: 1004 1003
#### c1   http[ 5] | Age: 0
#### c1   http[ 6] | Via: 1.1 varnish
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (302) == 302 (302) match
#### c1   EXPECT resp.http.X-varnish (1004 1003) == 1004 1003 (1004 1003) match
###  c1   Closing fd 8
##   c1   Ending
##   c1   Waiting for client
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Started on 127.0.0.1:9080
#### v1   CLI TX| vcl.inline vcl3 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tif (obj.status == 502) {\n\t\t\tset obj.cacheable = true;\n\t\t\tset obj.ttl = 10m;\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl3
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /2 HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET /2 HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1005\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /2
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1005
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 502 Ok\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 502 Ok\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:01 GMT\r\n
#### c1   rxhdr| X-Varnish: 1005\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 502
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:01 GMT
#### c1   http[ 4] | X-Varnish: 1005
#### c1   http[ 5] | Age: 0
#### c1   http[ 6] | Via: 1.1 varnish
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (502) == 502 (502) match
#### c1   EXPECT resp.http.X-varnish (1005) == 1005 (1005) match
###  c1   Closing fd 9
##   c1   Ending
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 8
#### c1   txreq| GET /2 HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 502 Ok\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:01 GMT\r\n
#### c1   rxhdr| X-Varnish: 1006 1005\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 502
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:01 GMT
#### c1   http[ 4] | X-Varnish: 1006 1005
#### c1   http[ 5] | Age: 0
#### c1   http[ 6] | Via: 1.1 varnish
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (502) == 502 (502) match
#### c1   EXPECT resp.http.X-varnish (1006 1005) == 1006 1005 (1006 1005) match
###  c1   Closing fd 8
##   c1   Ending
#    RESETTING after ././tests/b00015.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18376) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18376) ended\n
#### v1   debug| Child cleanup complete\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18353 Status: 0200
#    TEST ././tests/b00015.vtc completed
PASS: ./tests/b00015.vtc
#    TEST ././tests/c00001.vtc starting
#    TEST Test VCL regsub()
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.mEswVV (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\tsub vcl_fetch {\n\t\tset obj.http.Snafu1 = regsub(obj.http.Foobar, \"ar\", \"\\0\\0\");\n\t\tset obj.http.Snafu2 =\n\t\t    regsub(obj.http.Foobar, \"(b)(a)(r)(f)\", \"\\4\\3\\2p\");\n\t\tset obj.http.Snafu3 =\n\t\t    regsub(obj.http.Foobar, \"(b)(a)(r)(f)\", \"\\4\\\\\\3\\2p\");\n\t\tset obj.http.Snafu4 =\n\t\t    regsub(obj.http.Foobar, \"(b)(a)(r)(f)\", \"\\4\\&\\3\\2p\");\n\t\tset obj.http.Snafu5 =\n\t\t    regsub(obj.http.Foobar, \"(b)(a)(r)(f)\", \"\\0\\4\\3\\2\\\\p\");\n\t\tset obj.http.Snafu6 =\n\t\t    regsub(obj.http.Foobar, \"(b)(a)(r)(f)\", \"\\4\\&\\3\\2p\\\");\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18452) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18452) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18452) said Child starts\n
#### v1   debug| Child (18452) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18452) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Foobar: _barf_\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Foobar: _barf_\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Snafu1: _bararf_\r\n
#### c1   rxhdr| Snafu2: _frap_\r\n
#### c1   rxhdr| Snafu3: _f\rap_\r\n
#### c1   rxhdr| Snafu4: _f&rap_\r\n
#### c1   rxhdr| Snafu5: _barffra\p_\r\n
#### c1   rxhdr| Snafu6: _f&rap\_\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:02 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Foobar: _barf_
#### c1   http[ 4] | Content-Length: 7
#### c1   http[ 5] | Snafu1: _bararf_
#### c1   http[ 6] | Snafu2: _frap_
#### c1   http[ 7] | Snafu3: _f\rap_
#### c1   http[ 8] | Snafu4: _f&rap_
#### c1   http[ 9] | Snafu5: _barffra\p_
#### c1   http[10] | Snafu6: _f&rap\_
#### c1   http[11] | Date: Fri, 22 Aug 2008 07:09:02 GMT
#### c1   http[12] | X-Varnish: 1001
#### c1   http[13] | Age: 0
#### c1   http[14] | Via: 1.1 varnish
#### c1   http[15] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
#### c1   EXPECT resp.http.foobar (_barf_) == _barf_ (_barf_) match
#### c1   EXPECT resp.http.snafu1 (_bararf_) == _bararf_ (_bararf_) match
#### c1   EXPECT resp.http.snafu2 (_frap_) == _frap_ (_frap_) match
#### c1   EXPECT resp.http.snafu3 (_f\rap_) == _f\rap_ (_f\rap_) match
#### c1   EXPECT resp.http.snafu4 (_f&rap_) == _f&rap_ (_f&rap_) match
#### c1   EXPECT resp.http.snafu5 (_barffra\p_) == _barffra\p_ (_barffra\p_) match
#### c1   EXPECT resp.http.snafu6 (_f&rap\_) == _f&rap\_ (_f&rap\_) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00001.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18452) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18452) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18429 Status: 0200
#    TEST ././tests/c00001.vtc completed
PASS: ./tests/c00001.vtc
#    TEST ././tests/c00002.vtc starting
#    TEST Check that all thread pools all get started and get minimum threads
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -p thread_pool_min=2 -p thread_pools=4
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.7LrqA3 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18509) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18509) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18509) said Child starts\n
#### v1   debug| Child (18509) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18509) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   v1   as expected: n_wrk_create (8) == 8
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:04 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:04 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00002.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18509) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18509) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18486 Status: 0200
#    TEST ././tests/c00002.vtc completed
PASS: ./tests/c00002.vtc
#    TEST ././tests/c00003.vtc starting
#    TEST Check that we start if at least one listen address works
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.T0is4d (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| param.set listen_address 198.18.1.1:9082
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.set listen_address 198.18.1.1:9082>
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
#### v1   CLI TX| start
#### v1   CLI RX| Could not open sockets
###  v1   CLI STATUS 300
##   v1   CLI 300 <start>
#### v1   CLI TX| param.set listen_address :9081,127.0.0.2:9082
#### v1   debug| bind(): Cannot assign requested address\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.set listen_address :9081,127.0.0.2:9082>
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18566) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18566) said Closed fds: 5 7 8 13 14 16 17\n
#### v1   debug| Child (18566) said Child starts\n
#### v1   debug| Child (18566) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18566) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:05 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:05 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00003.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18566) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18566) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18543 Status: 0200
#    TEST ././tests/c00003.vtc completed
PASS: ./tests/c00003.vtc
#    TEST ././tests/c00004.vtc starting
#    TEST Test Vary functionality
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -b 127.0.0.1:9080
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.PQufJy (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18622) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18622) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18622) said Child starts\n
#### v1   debug| Child (18622) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18622) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
##   s1   Started on 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| Foobar: 1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Foobar: 1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Foobar: 1
#### s1   http[ 4] | X-Varnish: 1001
#### s1   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 6] | Host: 127.0.0.1
#### s1   EXPECT req.http.foobar (1) == 1 (1) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Vary: Foobar\r\n
#### s1   txresp| Snafu: 1\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1111\n
#### s1   txresp| \r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Vary: Foobar\r\n
#### c1   rxhdr| Snafu: 1\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:06 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Vary: Foobar
#### c1   http[ 4] | Snafu: 1
#### c1   http[ 5] | Content-Length: 5
#### c1   http[ 6] | Date: Fri, 22 Aug 2008 07:09:06 GMT
#### c1   http[ 7] | X-Varnish: 1001
#### c1   http[ 8] | Age: 0
#### c1   http[ 9] | Via: 1.1 varnish
#### c1   http[10] | Connection: keep-alive
#### c1   body| 1111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
#### c1   EXPECT resp.http.snafu (1) == 1 (1) match
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| Foobar: 2\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Foobar: 2\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Foobar: 2
#### s1   http[ 4] | X-Varnish: 1002
#### s1   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 6] | Host: 127.0.0.1
#### s1   EXPECT req.http.foobar (2) == 2 (2) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Vary: Foobar\r\n
#### s1   txresp| Snafu: 2\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 2222\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Vary: Foobar\r\n
#### c1   rxhdr| Snafu: 2\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:06 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Vary: Foobar
#### c1   http[ 4] | Snafu: 2
#### c1   http[ 5] | Content-Length: 5
#### c1   http[ 6] | Date: Fri, 22 Aug 2008 07:09:06 GMT
#### c1   http[ 7] | X-Varnish: 1002
#### c1   http[ 8] | Age: 0
#### c1   http[ 9] | Via: 1.1 varnish
#### c1   http[10] | Connection: keep-alive
#### c1   body| 2222\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1002) == 1002 (1002) match
#### c1   EXPECT resp.http.snafu (2) == 2 (2) match
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| Foobar: 3\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Foobar: 3\r\n
#### s1   rxhdr| X-Varnish: 1003\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Foobar: 3
#### s1   http[ 4] | X-Varnish: 1003
#### s1   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 6] | Host: 127.0.0.1
#### s1   EXPECT req.http.foobar (3) == 3 (3) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Vary: Foobar\r\n
#### s1   txresp| Snafu: 3\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 3333\n
#### s1   txresp| \r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Vary: Foobar\r\n
#### c1   rxhdr| Snafu: 3\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:06 GMT\r\n
#### c1   rxhdr| X-Varnish: 1003\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Vary: Foobar
#### c1   http[ 4] | Snafu: 3
#### c1   http[ 5] | Content-Length: 5
#### c1   http[ 6] | Date: Fri, 22 Aug 2008 07:09:06 GMT
#### c1   http[ 7] | X-Varnish: 1003
#### c1   http[ 8] | Age: 0
#### c1   http[ 9] | Via: 1.1 varnish
#### c1   http[10] | Connection: keep-alive
#### c1   body| 3333\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1003) == 1003 (1003) match
#### c1   EXPECT resp.http.snafu (3) == 3 (3) match
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1004\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1004
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Vary: Foobar\r\n
#### s1   txresp| Snafu: 4\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 4444\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Vary: Foobar\r\n
#### c1   rxhdr| Snafu: 4\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:06 GMT\r\n
#### c1   rxhdr| X-Varnish: 1004\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Vary: Foobar
#### c1   http[ 4] | Snafu: 4
#### c1   http[ 5] | Content-Length: 5
#### c1   http[ 6] | Date: Fri, 22 Aug 2008 07:09:06 GMT
#### c1   http[ 7] | X-Varnish: 1004
#### c1   http[ 8] | Age: 0
#### c1   http[ 9] | Via: 1.1 varnish
#### c1   http[10] | Connection: keep-alive
#### c1   body| 4444\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1004) == 1004 (1004) match
#### c1   EXPECT resp.http.snafu (4) == 4 (4) match
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| Foobar:  1 \r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Vary: Foobar\r\n
#### c1   rxhdr| Snafu: 1\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:06 GMT\r\n
#### c1   rxhdr| X-Varnish: 1005 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Vary: Foobar
#### c1   http[ 4] | Snafu: 1
#### c1   http[ 5] | Content-Length: 5
#### c1   http[ 6] | Date: Fri, 22 Aug 2008 07:09:06 GMT
#### c1   http[ 7] | X-Varnish: 1005 1001
#### c1   http[ 8] | Age: 0
#### c1   http[ 9] | Via: 1.1 varnish
#### c1   http[10] | Connection: keep-alive
#### c1   body| 1111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1005 1001) == 1005 1001 (1005 1001) match
#### c1   EXPECT resp.http.snafu (1) == 1 (1) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00004.vtc
##   s1   Waiting for server
###  s1   shutting fd 8
##   s1   Ending
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18622) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18622) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18599 Status: 0200
#    TEST ././tests/c00004.vtc completed
PASS: ./tests/c00004.vtc
#    TEST ././tests/c00005.vtc starting
#    TEST Test simple ACL
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.vxFEbv (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tacl acl1 {\n\t\t\"localhost\";\n\t}\n\n\tsub vcl_recv {\n\t\tif (client.ip ~ acl1) {\n\t\t\tset req.url = \"/\";\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18680) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18680) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18680) said Child starts\n
#### v1   debug| Child (18680) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18680) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1111\n
#### s1   txresp| \r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:07 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 5
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:07 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 1111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#### v1   CLI TX| vcl.inline vcl2 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tacl acl1 {\n\t\t! \"localhost\";\n\t}\n\n\tsub vcl_recv {\n\t\tif (client.ip ~ acl1) {\n\t\t\tset req.url = \"/\";\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (foo) == foo (foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 2222\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:08 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 5
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:08 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 2222\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
##   c1   Waiting for client
#    RESETTING after ././tests/c00005.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18680) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18680) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18657 Status: 0200
#    TEST ././tests/c00005.vtc completed
PASS: ./tests/c00005.vtc
#    TEST ././tests/c00006.vtc starting
#    TEST Test banning a url
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.SSqLiN (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18745) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18745) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18745) said Child starts\n
#### v1   debug| Child (18745) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18745) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1111\n
#### s1   txresp| \r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:09 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 5
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:09 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 1111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (5) == 5 (5) match
###  c1   Closing fd 9
##   c1   Ending
#### v1   CLI TX| purge.url foo
###  v1   CLI STATUS 200
##   v1   CLI 200 <purge.url foo>
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| 11111\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:09 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:09 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 11111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00006.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18745) said EOF on CLI connection, exiting\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18745) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18722 Status: 0200
#    TEST ././tests/c00006.vtc completed
PASS: ./tests/c00006.vtc
#    TEST ././tests/c00007.vtc starting
#    TEST Test banning a hash
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.lSWcjZ (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18804) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18804) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18804) said Child starts\n
#### v1   debug| Child (18804) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18804) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1111\n
#### s1   txresp| \r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:10 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 5
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:10 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 1111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (5) == 5 (5) match
###  c1   Closing fd 9
##   c1   Ending
#### v1   CLI TX| purge.hash foo
###  v1   CLI STATUS 200
##   v1   CLI 200 <purge.hash foo>
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| 11111\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:10 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:10 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 11111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00007.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18804) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18804) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18781 Status: 0200
#    TEST ././tests/c00007.vtc completed
PASS: ./tests/c00007.vtc
#    TEST ././tests/c00008.vtc starting
#    TEST Test If-Modified-Since
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.V6jU0W (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18864) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18864) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18864) said Child starts\n
#### v1   debug| Child (18864) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18864) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| 11111\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 4] | Content-Length: 6
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 6] | X-Varnish: 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| 11111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| If-Modified-Since: Thu, 26 Jun 2008 12:00:00 GMT\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 4] | Content-Length: 6
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 6] | X-Varnish: 1002 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| 11111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| If-Modified-Since: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 304 Not Modified\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| X-Varnish: 1003\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 304
#### c1   http[ 2] | Not Modified
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 4] | Via: 1.1 varnish
#### c1   http[ 5] | X-Varnish: 1003
#### c1   http[ 6] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (304) == 304 (304) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| If-Modified-Since: Thu, 26 Jun 2008 12:00:02 GMT\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 304 Not Modified\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| X-Varnish: 1004\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 304
#### c1   http[ 2] | Not Modified
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 4] | Via: 1.1 varnish
#### c1   http[ 5] | X-Varnish: 1004
#### c1   http[ 6] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (304) == 304 (304) match
###  c1   Closing fd 9
##   c1   Ending
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 4
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| X-Varnish: 1005 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 4] | Content-Length: 6
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 6] | X-Varnish: 1005 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| 11111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| If-Modified-Since: Thu, 26 Jun 2008 12:00:00 GMT\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| X-Varnish: 1006 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 4] | Content-Length: 6
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 6] | X-Varnish: 1006 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| 11111\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| If-Modified-Since: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 304 Not Modified\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| X-Varnish: 1007\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 304
#### c1   http[ 2] | Not Modified
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 4] | Via: 1.1 varnish
#### c1   http[ 5] | X-Varnish: 1007
#### c1   http[ 6] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (304) == 304 (304) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| If-Modified-Since: Thu, 26 Jun 2008 12:00:02 GMT\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 304 Not Modified\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:11 GMT\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| X-Varnish: 1008\r\n
#### c1   rxhdr| Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 304
#### c1   http[ 2] | Not Modified
#### c1   http[ 3] | Date: Fri, 22 Aug 2008 07:09:11 GMT
#### c1   http[ 4] | Via: 1.1 varnish
#### c1   http[ 5] | X-Varnish: 1008
#### c1   http[ 6] | Last-Modified: Thu, 26 Jun 2008 12:00:01 GMT
#### c1   http[ 7] | Connection: keep-alive
#### c1   EXPECT resp.status (304) == 304 (304) match
###  c1   Closing fd 4
##   c1   Ending
#    RESETTING after ././tests/c00008.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   debug| Child (18864) said EOF on CLI connection, exiting\n
#### v1   CLI TX| status
#### v1   debug| Child (18864) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18841 Status: 0200
#    TEST ././tests/c00008.vtc completed
PASS: ./tests/c00008.vtc
#    TEST ././tests/c00009.vtc starting
#    TEST Test restarts
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   s2   Starting server
###  s2   listen on 127.0.0.1:9180 (fd 5)
##   v1   Launch
##   s2   Started on 127.0.0.1:9180
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.TPJMG7 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 7
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\nbackend s2 { .host = \"127.0.0.1\"; .port = \"9180\"; }\n \n\tsub vcl_recv {\n\t\tif (req.restarts == 0) {\n\t\t\tset req.backend = s1;\n\t\t} else {\n\t\t\tset req.backend = s2;\n\t\t}\n\t}\n\n\tsub vcl_fetch {\n\t\tif (obj.status != 200) {\n\t\t\trestart;\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18923) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18923) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18923) said Child starts\n
#### v1   debug| Child (18923) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18923) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 11
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 404 Ok\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  s2   Accepted socket fd is 6
###  s2   rxreq
#### s2   rxhdr| GET /foo HTTP/1.1\r\n
#### s2   rxhdr| X-Varnish: 1001\r\n
#### s2   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s2   rxhdr| Host: 127.0.0.1\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /foo
#### s2   http[ 2] | HTTP/1.1
#### s2   http[ 3] | X-Varnish: 1001
#### s2   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s2   http[ 5] | Host: 127.0.0.1
#### s2   EXPECT req.url (/foo) == /foo (/foo) match
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| Content-Length: 6\r\n
#### s2   txresp| \r\n
#### s2   txresp| foobar\r\n
###  s2   shutting fd 6
##   s2   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:12 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:12 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
###  c1   Closing fd 11
##   c1   Ending
#    RESETTING after ././tests/c00009.vtc
##   s1   Waiting for server
##   s2   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18923) said EOF on CLI connection, exiting\n
#### v1   debug| Child (18923) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18900 Status: 0200
#    TEST ././tests/c00009.vtc completed
PASS: ./tests/c00009.vtc
#    TEST ././tests/c00010.vtc starting
#    TEST Test pass from hit
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.hAqfnf (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\tsub vcl_hit {\n\t\tpass;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (18980) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (18980) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (18980) said Child starts\n
#### v1   debug| Child (18980) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (18980) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:13 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:13 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar1\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:13 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:13 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar1
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (7) == 7 (7) match
#### c1   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00010.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (18980) said EOF on CLI connection, exiting\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (18980) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 18957 Status: 0200
#    TEST ././tests/c00010.vtc completed
PASS: ./tests/c00010.vtc
#    TEST ././tests/c00011.vtc starting
#    TEST Test hit for pass (pass from fetch)
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.ATRaLn (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\tsub vcl_fetch {\n\t\tpass;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19037) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19037) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19037) said Child starts\n
#### v1   debug| Child (19037) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19037) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:14 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:14 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar1\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:14 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:14 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar1
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (7) == 7 (7) match
#### c1   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00011.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19037) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19037) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19014 Status: 0200
#    TEST ././tests/c00011.vtc completed
PASS: ./tests/c00011.vtc
#    TEST ././tests/c00012.vtc starting
#    TEST Test pass from miss
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.xQ9vHE (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\tsub vcl_miss {\n\t\tpass;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19094) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19094) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19094) said Child starts\n
#### v1   debug| Child (19094) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19094) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:15 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:15 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar1\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:15 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:15 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar1
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (7) == 7 (7) match
#### c1   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/c00012.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19094) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19094) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19071 Status: 0200
#    TEST ././tests/c00012.vtc completed
PASS: ./tests/c00012.vtc
#    TEST ././tests/c00013.vtc starting
#    TEST Test parking second request on backend delay
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.5GR6kK (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19151) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19151) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19151) said Child starts\n
#### v1   debug| Child (19151) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19151) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   send| HTTP/1.1 200 Ok\r\n
#### s1   send| Connection: close\r\n
#### s1   send| \r\n
##   c2   Starting client
#    RESETTING after ././tests/c00013.vtc
##   c2   Started
##   s1   Waiting for server
###  c2   Connect to 127.0.0.1:9081
###  c2   Connected to 127.0.0.1:9081 fd is 10
#### c2   txreq| GET /foo HTTP/1.1\r\n
#### c2   txreq| \r\n
###  c2   rxresp
#### s1   send| line1\n
#### s1   send| line2\n
###  s1   shutting fd 4
##   s1   Ending
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 12\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:17 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 1\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 12
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:17 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 1
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| line1\n
#### c1   body| line2\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (12) == 12 (12) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
###  c1   Closing fd 9
##   c1   Ending
##   c2   Waiting for client
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Content-Length: 12\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:09:17 GMT\r\n
#### c2   rxhdr| X-Varnish: 1002 1001\r\n
#### c2   rxhdr| Age: 1\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Content-Length: 12
#### c2   http[ 4] | Date: Fri, 22 Aug 2008 07:09:17 GMT
#### c2   http[ 5] | X-Varnish: 1002 1001
#### c2   http[ 6] | Age: 1
#### c2   http[ 7] | Via: 1.1 varnish
#### c2   http[ 8] | Connection: keep-alive
#### c2   body| line1\n
#### c2   body| line2\n
#### c2   EXPECT resp.status (200) == 200 (200) match
#### c2   EXPECT resp.http.content-length (12) == 12 (12) match
#### c2   EXPECT resp.http.x-varnish (1002 1001) == 1002 1001 (1002 1001) match
###  c2   Closing fd 10
##   c2   Ending
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19151) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19151) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19128 Status: 0200
#    TEST ././tests/c00013.vtc completed
PASS: ./tests/c00013.vtc
#    TEST ././tests/c00014.vtc starting
#    TEST Test parking second request on backend delay, then pass
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.cl1oDX (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\tsub vcl_fetch {\n\t\tpass;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19211) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19211) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19211) said Child starts\n
#### v1   debug| Child (19211) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19211) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   send| HTTP/1.1 200 Ok\r\n
#### s1   send| Content-Length: 12\r\n
#### s1   send| \r\n
##   c2   Starting client
#    RESETTING after ././tests/c00014.vtc
##   s1   Waiting for server
##   c2   Started
###  c2   Connect to 127.0.0.1:9081
###  c2   Connected to 127.0.0.1:9081 fd is 10
#### c2   txreq| GET /foo HTTP/1.1\r\n
#### c2   txreq| \r\n
###  c2   rxresp
#### s1   send| line1\n
#### s1   send| line2\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 12\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:19 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 1\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 12
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:19 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 1
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| line1\n
#### c1   body| line2\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (12) == 12 (12) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
###  c1   Closing fd 9
##   c1   Ending
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 4
##   s1   Ending
##   c1   Waiting for client
##   c2   Waiting for client
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Content-Length: 6\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:09:19 GMT\r\n
#### c2   rxhdr| X-Varnish: 1002\r\n
#### c2   rxhdr| Age: 0\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Content-Length: 6
#### c2   http[ 4] | Date: Fri, 22 Aug 2008 07:09:19 GMT
#### c2   http[ 5] | X-Varnish: 1002
#### c2   http[ 6] | Age: 0
#### c2   http[ 7] | Via: 1.1 varnish
#### c2   http[ 8] | Connection: keep-alive
#### c2   body| foobar
#### c2   EXPECT resp.status (200) == 200 (200) match
#### c2   EXPECT resp.http.content-length (6) == 6 (6) match
#### c2   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
###  c2   Closing fd 10
##   c2   Ending
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19211) said EOF on CLI connection, exiting\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19211) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19188 Status: 0200
#    TEST ././tests/c00014.vtc completed
PASS: ./tests/c00014.vtc
#    TEST ././tests/c00015.vtc starting
#    TEST Test switching VCLs
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.inI8Ca (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19271) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19271) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19271) said Child starts\n
#### v1   debug| Child (19271) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19271) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.inline vcl2 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_recv {\n\t\tpass;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.list
#### v1   CLI RX| available       0 vcl1\n
#### v1   CLI RX| active          0 vcl2\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.list>
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.use vcl1>
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:21 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:21 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (6) == 6 (6) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
###  c1   Closing fd 9
##   c1   Ending
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.use vcl2>
##   c2   Starting client
##   c2   Waiting for client
##   c2   Started
###  c2   Connect to 127.0.0.1:9081
###  c2   Connected to 127.0.0.1:9081 fd is 9
#### c2   txreq| GET /foo HTTP/1.1\r\n
#### c2   txreq| \r\n
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar1\r\n
###  s1   shutting fd 4
##   s1   Ending
###  c2   rxresp
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Content-Length: 7\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:09:21 GMT\r\n
#### c2   rxhdr| X-Varnish: 1002\r\n
#### c2   rxhdr| Age: 0\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Content-Length: 7
#### c2   http[ 4] | Date: Fri, 22 Aug 2008 07:09:21 GMT
#### c2   http[ 5] | X-Varnish: 1002
#### c2   http[ 6] | Age: 0
#### c2   http[ 7] | Via: 1.1 varnish
#### c2   http[ 8] | Connection: keep-alive
#### c2   body| foobar1
#### c2   EXPECT resp.status (200) == 200 (200) match
#### c2   EXPECT resp.http.content-length (7) == 7 (7) match
#### c2   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
###  c2   Closing fd 9
##   c2   Ending
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.use vcl1>
##   c3   Starting client
##   c3   Waiting for client
##   c3   Started
###  c3   Connect to 127.0.0.1:9081
###  c3   Connected to 127.0.0.1:9081 fd is 4
#### c3   txreq| GET /foo HTTP/1.1\r\n
#### c3   txreq| \r\n
###  c3   rxresp
#### c3   rxhdr| HTTP/1.1 200 Ok\r\n
#### c3   rxhdr| Content-Length: 6\r\n
#### c3   rxhdr| Date: Fri, 22 Aug 2008 07:09:21 GMT\r\n
#### c3   rxhdr| X-Varnish: 1003 1001\r\n
#### c3   rxhdr| Age: 0\r\n
#### c3   rxhdr| Via: 1.1 varnish\r\n
#### c3   rxhdr| Connection: keep-alive\r\n
#### c3   rxhdr| \r\n
#### c3   http[ 0] | HTTP/1.1
#### c3   http[ 1] | 200
#### c3   http[ 2] | Ok
#### c3   http[ 3] | Content-Length: 6
#### c3   http[ 4] | Date: Fri, 22 Aug 2008 07:09:21 GMT
#### c3   http[ 5] | X-Varnish: 1003 1001
#### c3   http[ 6] | Age: 0
#### c3   http[ 7] | Via: 1.1 varnish
#### c3   http[ 8] | Connection: keep-alive
#### c3   body| foobar
#### c3   EXPECT resp.status (200) == 200 (200) match
#### c3   EXPECT resp.http.content-length (6) == 6 (6) match
#### c3   EXPECT resp.http.x-varnish (1003 1001) == 1003 1001 (1003 1001) match
###  c3   Closing fd 4
##   c3   Ending
#### v1   CLI TX| vcl.show vcl2
#### v1   CLI RX| backend s1 { .host = "127.0.0.1"; .port = "9080"; }\n
#### v1   CLI RX| \n
#### v1   CLI RX| \tsub vcl_recv {\n
#### v1   CLI RX| \t\tpass;\n
#### v1   CLI RX| \t}\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.show vcl2>
#### v1   CLI TX| vcl.discard vcl2
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.discard vcl2>
#### v1   CLI TX| vcl.list
#### v1   debug| unlink ./vcl.FANefPfn.so\n
#### v1   CLI RX| active          1 vcl1\n
#### v1   CLI RX| discarded       1 vcl2\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.list>
#    RESETTING after ././tests/c00015.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19271) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19271) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19248 Status: 0200
#    TEST ././tests/c00015.vtc completed
PASS: ./tests/c00015.vtc
#    TEST ././tests/c00016.vtc starting
#    TEST Test Connection header handling
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.zoviCu (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19337) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19337) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19337) said Child starts\n
#### v1   debug| Child (19337) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19337) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
#    RESETTING after ././tests/c00016.vtc
##   s1   Waiting for server
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| Foo: bar\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| Foo: bar\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Foo: bar
#### s1   http[ 4] | X-Varnish: 1001
#### s1   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 6] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   EXPECT req.http.Foo (bar) == bar (bar) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Bar: foo\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:22 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Bar: foo
#### c1   http[ 4] | Content-Length: 6
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:22 GMT
#### c1   http[ 6] | X-Varnish: 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| foobar
#### c1   EXPECT resp.http.Bar (foo) == foo (foo) match
#### c1   txreq| GET /bar HTTP/1.1\r\n
#### c1   txreq| Foo: bar2\r\n
#### c1   txreq| Connection: foo, close\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/bar) == /bar (/bar) match
#### s1   EXPECT req.http.Foo (req.http.Foo) == req.http.Foo (req.http.Foo) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: fnry,glyf, FOO ,brok\r\n
#### s1   txresp| Connection: bar\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 4
##   s1   Ending
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Bar: fnry,glyf, FOO ,brok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:22 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: close\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Bar: fnry,glyf, FOO ,brok
#### c1   http[ 4] | Content-Length: 6
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:22 GMT
#### c1   http[ 6] | X-Varnish: 1002
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: close
#### c1   body| foobar
#### c1   EXPECT req.http.Bar (req.http.Bar) == req.http.Bar (req.http.Bar) match
###  c1   Closing fd 9
##   c1   Ending
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19337) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19337) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19314 Status: 0200
#    TEST ././tests/c00016.vtc completed
PASS: ./tests/c00016.vtc
#    TEST ././tests/c00017.vtc starting
#    TEST Test Backend Polling
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.NxrjRE (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 " \n\n\tbackend foo {\n\t\t.host = \"127.0.0.1\";\n\t\t.port = \"9080\";\n\t\t.probe = {\n\t\t\t.timeout = 1 s;\n\t\t\t.interval = 0.5 s;\n\t\t}\n\t}\n\t\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19393) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19393) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19393) said Child starts\n
#### v1   debug| Child (19393) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19393) said Ready\n
#### v1   debug| Child (19393) said Probe("GET / HTTP/1.1\r\n
#### v1   debug| Child (19393) said Host: 127.0.0.1\r\n
#### v1   debug| Child (19393) said Connection: close\r\n
#### v1   debug| Child (19393) said \r\n
#### v1   debug| Child (19393) said ", 1, 0.5)\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Started on 127.0.0.1:9080
##   s1   Waiting for server
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Started on 127.0.0.1:9080
##   s1   Waiting for server
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Started on 127.0.0.1:9080
##   s1   Waiting for server
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 404 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Started on 127.0.0.1:9080
##   s1   Waiting for server
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| FROBOZ 200 Ok\r\n
#### s1   txresp| Bar: foo\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   shutting fd 8
##   s1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   s1   Waiting for server
##   s1   Started on 127.0.0.1:9080
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| Connection: close\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: 127.0.0.1
#### s1   http[ 4] | Connection: close
#### s1   EXPECT req.url (/) == / (/) match
###  s1   shutting fd 8
##   s1   Ending
#### v1   CLI TX| debug.health
#### v1   CLI RX| Backend foo is Sick\n
#### v1   CLI RX| Current states  good:  0 threshold:  3 window:  8\n
#### v1   CLI RX| Average responsetime of good probes: 0.000333\n
#### v1   CLI RX| Oldest                                                    Newest\n
#### v1   CLI RX| ================================================================\n
#### v1   CLI RX| ----------------------------------------------44444444444444---- Good IPv4\n
#### v1   CLI RX| ----------------------------------------------XXXXXXXXXXXXXX---- Good Xmit\n
#### v1   CLI RX| ----------------------------------------------SSSSSSSSSSSSSS---- Good Shut\n
#### v1   CLI RX| -----------------------------------------------------------r---- Error Recv\n
#### v1   CLI RX| ----------------------------------------------RRRRRRRRRRR------- Good Recv\n
#### v1   CLI RX| ----------------------------------------------HHHHHHHH-H-------- Happy\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <debug.health>
#    RESETTING after ././tests/c00017.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19393) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19393) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19370 Status: 0200
#    TEST ././tests/c00017.vtc completed
PASS: ./tests/c00017.vtc
#    TEST ././tests/e00000.vtc starting
#    TEST ESI test with no ESI content
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.bw7vkZ (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19466) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19466) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19466) said Child starts\n
#### v1   debug| Child (19466) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19466) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 33\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t-This is a test: Hello world\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 33\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:35 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 33
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:35 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| \n
#### c1   body| \t\t-This is a test: Hello world\n
#### c1   body| \t
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (33) == 33 (33) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00000.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19466) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19466) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19443 Status: 0200
#    TEST ././tests/e00000.vtc completed
PASS: ./tests/e00000.vtc
#    TEST ././tests/e00001.vtc starting
#    TEST ESI:remove
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
##   s1   Started on 127.0.0.1:9080
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.L7AFgf (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 4
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19523) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19523) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19523) said Child starts\n
#### v1   debug| Child (19523) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19523) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 99\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t<esi:remove>\n
#### s1   txresp| \t\tThis is a test: Unseen University\n
#### s1   txresp| \t\t</esi:remove>\n
#### s1   txresp| \t\tThis is a test: Hello world\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:36 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:36 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 23\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t\n
#### c1   chunk| \t\tThis is a test: Hello world\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t\n
#### c1   body| \t\tThis is a test: Hello world\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00001.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19523) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19523) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19500 Status: 0200
#    TEST ././tests/e00001.vtc completed
PASS: ./tests/e00001.vtc
#    TEST ././tests/e00002.vtc starting
#    TEST ESI CDATA
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.eLGpyJ (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19582) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19582) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19582) said Child starts\n
#### v1   debug| Child (19582) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19582) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 127\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t<esi:remove>\n
#### s1   txresp| \t\t<![CDATA[</esi:remove>]]>\n
#### s1   txresp| \t\tThis is a test: Unseen University\n
#### s1   txresp| \t\t</esi:remove>\n
#### s1   txresp| \t\tThis is a test: Hello world\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:38 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:38 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 23\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t\n
#### c1   chunk| \t\tThis is a test: Hello world\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t\n
#### c1   body| \t\tThis is a test: Hello world\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00002.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19582) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19582) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19559 Status: 0200
#    TEST ././tests/e00002.vtc completed
PASS: ./tests/e00002.vtc
#    TEST ././tests/e00003.vtc starting
#    TEST ESI include
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.ZWaYUG (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19639) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19639) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19639) said Child starts\n
#### v1   debug| Child (19639) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19639) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 73\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t<html>\n
#### s1   txresp| \t\tBefore include\n
#### s1   txresp| \t\t<esi:include src="/body"/>\n
#### s1   txresp| \t\tAfter include\n
#### s1   txresp| \t\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:39 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:39 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 1d\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t<html>\n
#### c1   chunk| \t\tBefore include\n
#### c1   chunk| \t\t
#### s1   rxhdr| GET /body HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /body
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/body) == /body (/body) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 18\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\tIncluded file\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   len| 12\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tIncluded file\n
#### c1   chunk| \t
#### c1   len| 12\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tAfter include\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t<html>\n
#### c1   body| \t\tBefore include\n
#### c1   body| \t\t\n
#### c1   body| \t\tIncluded file\n
#### c1   body| \t\n
#### c1   body| \t\tAfter include\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00003.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19639) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19639) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19616 Status: 0200
#    TEST ././tests/e00003.vtc completed
PASS: ./tests/e00003.vtc
#    TEST ././tests/e00004.vtc starting
#    TEST ESI commented include
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.wHY9AZ (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19695) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19695) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19695) said Child starts\n
#### v1   debug| Child (19695) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19695) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 85\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t<html>\n
#### s1   txresp| \t\tBefore include\n
#### s1   txresp| \t\t<!--esi <esi:include src="/body"/> -->\n
#### s1   txresp| \t\tAfter include\n
#### s1   txresp| \t\r\n
###  s1   rxreq
#### s1   rxhdr| GET /body HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /body
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/body) == /body (/body) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 18\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\tIncluded file\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:40 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:40 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 1e\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t<html>\n
#### c1   chunk| \t\tBefore include\n
#### c1   chunk| \t\t 
#### c1   len| 12\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tIncluded file\n
#### c1   chunk| \t
#### c1   len| 13\r\n
#### c1   chunk|  \n
#### c1   chunk| \t\tAfter include\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t<html>\n
#### c1   body| \t\tBefore include\n
#### c1   body| \t\t \n
#### c1   body| \t\tIncluded file\n
#### c1   body| \t \n
#### c1   body| \t\tAfter include\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00004.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19695) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19695) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19672 Status: 0200
#    TEST ././tests/e00004.vtc completed
PASS: ./tests/e00004.vtc
#    TEST ././tests/e00005.vtc starting
#    TEST ESI relative include
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.Yt5194 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19752) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19752) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19752) said Child starts\n
#### v1   debug| Child (19752) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19752) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo/bar HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo/bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo/bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo/bar) == /foo/bar (/foo/bar) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 84\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t<html>\n
#### s1   txresp| \t\tBefore include\n
#### s1   txresp| \t\t<!--esi <esi:include src="body"/> -->\n
#### s1   txresp| \t\tAfter include\n
#### s1   txresp| \t\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:42 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:42 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 1e\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t<html>\n
#### c1   chunk| \t\tBefore include\n
#### c1   chunk| \t\t 
#### s1   rxhdr| GET /foo/body HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo/body
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo/body) == /foo/body (/foo/body) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 18\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\tIncluded file\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   len| 12\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tIncluded file\n
#### c1   chunk| \t
#### c1   len| 13\r\n
#### c1   chunk|  \n
#### c1   chunk| \t\tAfter include\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t<html>\n
#### c1   body| \t\tBefore include\n
#### c1   body| \t\t \n
#### c1   body| \t\tIncluded file\n
#### c1   body| \t \n
#### c1   body| \t\tAfter include\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00005.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (19752) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19752) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19729 Status: 0200
#    TEST ././tests/e00005.vtc completed
PASS: ./tests/e00005.vtc
#    TEST ././tests/e00006.vtc starting
#    TEST ESI include with http://
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s2   Starting server
##   s1   Started on 127.0.0.1:9080
###  s2   listen on 127.0.0.1:9180 (fd 4)
##   v1   Launch
##   s2   Started on 127.0.0.1:9180
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.pYyMNi (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 7
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\nbackend s2 { .host = \"127.0.0.1\"; .port = \"9180\"; }\n\n\tsub vcl_recv {\n\t\tif (req.http.host == \"bozz\") {\n\t\t\tset req.backend = s2;\n\t\t} else {\n\t\t\tset req.backend = s1;\n\t\t}\n\t}\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19810) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19810) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19810) said Child starts\n
#### v1   debug| Child (19810) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19810) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 11
#### c1   txreq| GET /foo/bar HTTP/1.1\r\n
#### c1   txreq| Host: froboz\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 5
###  s1   rxreq
#### s1   rxhdr| GET /foo/bar HTTP/1.1\r\n
#### s1   rxhdr| Host: froboz\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo/bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: froboz
#### s1   http[ 4] | X-Varnish: 1001
#### s1   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s1   EXPECT req.url (/foo/bar) == /foo/bar (/foo/bar) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 96\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t<html>\n
#### s1   txresp| \t\tBefore include\n
#### s1   txresp| \t\t<!--esi <esi:include src="http://bozz/body"/> -->\n
#### s1   txresp| \t\tAfter include\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 5
##   s1   Ending
###  s2   Accepted socket fd is 6
###  s2   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:43 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:43 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 1e\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t<html>\n
#### c1   chunk| \t\tBefore include\n
#### c1   chunk| \t\t 
#### s2   rxhdr| GET /body HTTP/1.1\r\n
#### s2   rxhdr| Host: bozz\r\n
#### s2   rxhdr| X-Varnish: 1001\r\n
#### s2   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /body
#### s2   http[ 2] | HTTP/1.1
#### s2   http[ 3] | Host: bozz
#### s2   http[ 4] | X-Varnish: 1001
#### s2   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s2   EXPECT req.url (/body) == /body (/body) match
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| Content-Length: 18\r\n
#### s2   txresp| \r\n
#### s2   txresp| \n
#### s2   txresp| \t\tIncluded file\n
#### s2   txresp| \t\r\n
###  s2   shutting fd 6
##   s2   Ending
#### c1   len| 12\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tIncluded file\n
#### c1   chunk| \t
#### c1   len| 13\r\n
#### c1   chunk|  \n
#### c1   chunk| \t\tAfter include\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t<html>\n
#### c1   body| \t\tBefore include\n
#### c1   body| \t\t \n
#### c1   body| \t\tIncluded file\n
#### c1   body| \t \n
#### c1   body| \t\tAfter include\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 11
##   c1   Ending
#    RESETTING after ././tests/e00006.vtc
##   s1   Waiting for server
##   s2   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19810) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19810) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19787 Status: 0200
#    TEST ././tests/e00006.vtc completed
PASS: ./tests/e00006.vtc
#    TEST ././tests/e00007.vtc starting
#    TEST ESI spanning storage bits
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.ouSV8l (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19867) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19867) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19867) said Child starts\n
#### v1   debug| Child (19867) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19867) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.fragfetch 32
###  v1   CLI STATUS 200
##   v1   CLI 200 <debug.fragfetch 32>
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo/bar HTTP/1.1\r\n
#### c1   txreq| Host: froboz\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo/bar HTTP/1.1\r\n
#### s1   rxhdr| Host: froboz\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo/bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: froboz
#### s1   http[ 4] | X-Varnish: 1001
#### s1   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s1   EXPECT req.url (/foo/bar) == /foo/bar (/foo/bar) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| \r\n
#### s1   send| \n
#### s1   send| \t\t<html>\n
#### s1   send| \t\tThis is before the test\n
#### s1   send| \t\t<![CDATA[fooooooobar]]>\n
#### s1   send| \t\t<esi:remove>\n
#### s1   send| \t\tThis is a test: Unseen University\n
#### s1   send| \t\t</esi:remove>\n
#### s1   send| \t\tThis is a test: Hello world\n
#### s1   send| \t
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:44 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:44 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 20\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t<html>\n
#### c1   chunk| \t\tThis is before the t
#### c1   len| 20\r\n
#### c1   chunk| est\n
#### c1   chunk| \t\t<![CDATA[fooooooobar]]>\n
#### c1   chunk| \t\t
#### c1   len| 20\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tThis is a test: Hello world\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t<html>\n
#### c1   body| \t\tThis is before the test\n
#### c1   body| \t\t<![CDATA[fooooooobar]]>\n
#### c1   body| \t\t\n
#### c1   body| \t\tThis is a test: Hello world\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00007.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19867) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19867) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19844 Status: 0200
#    TEST ././tests/e00007.vtc completed
PASS: ./tests/e00007.vtc
#    TEST ././tests/e00008.vtc starting
#    TEST ESI parsing errors
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
##   s1   Started on 127.0.0.1:9080
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.6U5n5u (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 4
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19924) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19924) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19924) said Child starts\n
#### v1   debug| Child (19924) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19924) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 626\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\t<html>\n
#### s1   txresp| \t\tBefore include\n
#### s1   txresp| \t\t<!--esi <esi:include src="/body"/> -->\n
#### s1   txresp| \t\tAfter include\n
#### s1   txresp| \t\t<!-- normal comment -->\n
#### s1   txresp| \t\t<esi:bogosity/>\n
#### s1   txresp| \t\t<esi:comment>\t\n
#### s1   txresp| \t\t foo\n
#### s1   txresp| \t\t </esi:comment>\n
#### s1   txresp| \t\t<esi:comment bar />\n
#### s1   txresp| \n
#### s1   txresp| \t\t<esi:remove>\n
#### s1   txresp| \t\t\t<esi:comment foo/>\n
#### s1   txresp| \t\t</esi:remove>\n
#### s1   txresp| \n
#### s1   txresp| \t\t<esi:remove>\n
#### s1   txresp| \t\t\t<esi:remove>\n
#### s1   txresp| \t\t\tbar\n
#### s1   txresp| \t\t\t</esi:remove>\n
#### s1   txresp| \t\t</esi:remove>\n
#### s1   txresp| \t\t</>\n
#### s1   txresp| \t\t<esi:remove/>\n
#### s1   txresp| \n
#### s1   txresp| \t\t<esi:include\n
#### s1   txresp| \t\r\x07\n
#### s1   txresp|                                                              >\n
#### s1   txresp| \n
#### s1   txresp| \t\t<esi:include  aaa />\n
#### s1   txresp| \t\t<esi:include  k.=./>\n
#### s1   txresp| \t\t<esi:include  src/>\n
#### s1   txresp| \t\t<esi:include  src=/>\n
#### s1   txresp| \t\t<esi:include  src= />\n
#### s1   txresp| \t\t</esi:include>\n
#### s1   txresp| \t\t<esi:include  src="foofof />\n
#### s1   txresp| \t\t<esi:include  foo=bar src=/body2 />\n
#### s1   txresp| \t\r\n
###  s1   rxreq
#### s1   rxhdr| GET /body HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /body
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/body) == /body (/body) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 40\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\tIncluded file\n
#### s1   txresp| \t\t<esi:remove>\n
#### s1   txresp| \t\t<Aaa\n
#### s1   txresp| \t\r\n
###  s1   rxreq
#### s1   rxhdr| GET /body2 HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 0\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /body2
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 0
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/body2) == /body2 (/body2) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 46\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\tIncluded file 2\n
#### s1   txresp| \t\t<!--esi\n
#### s1   txresp| \t\t<![CDATA[fooo\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:45 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:45 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 1e\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t<html>\n
#### c1   chunk| \t\tBefore include\n
#### c1   chunk| \t\t 
#### c1   len| 28\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tIncluded file\n
#### c1   chunk| \t\t<esi:remove>\n
#### c1   chunk| \t\t<Aaa\n
#### c1   chunk| \t
#### c1   len| 58\r\n
#### c1   chunk|  \n
#### c1   chunk| \t\tAfter include\n
#### c1   chunk| \t\t<!-- normal comment -->\n
#### c1   chunk| \t\t\n
#### c1   chunk| \t\t\t\n
#### c1   chunk| \t\t foo\n
#### c1   chunk| \t\t \n
#### c1   chunk| \t\t\n
#### c1   chunk| \n
#### c1   chunk| \t\t\n
#### c1   chunk| \n
#### c1   chunk| \t\t\n
#### c1   chunk| \t\t\n
#### c1   chunk| \t\t</>\n
#### c1   chunk| \t\t\n
#### c1   chunk| \n
#### c1   chunk| \t\t
#### c1   len| 4\r\n
#### c1   chunk| \n
#### c1   chunk| \n
#### c1   chunk| \t\t
#### c1   len| 3\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t
#### c1   len| 3\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t
#### c1   len| 3\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t
#### c1   len| 3\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t
#### c1   len| 6\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t\n
#### c1   chunk| \t\t
#### c1   len| 3\r\n
#### c1   chunk| \n
#### c1   chunk| \t\t
#### c1   len| 2e\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tIncluded file 2\n
#### c1   chunk| \t\t<!--esi\n
#### c1   chunk| \t\t<![CDATA[fooo\n
#### c1   chunk| \t
#### c1   len| 2\r\n
#### c1   chunk| \n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\t<html>\n
#### c1   body| \t\tBefore include\n
#### c1   body| \t\t \n
#### c1   body| \t\tIncluded file\n
#### c1   body| \t\t<esi:remove>\n
#### c1   body| \t\t<Aaa\n
#### c1   body| \t \n
#### c1   body| \t\tAfter include\n
#### c1   body| \t\t<!-- normal comment -->\n
#### c1   body| \t\t\n
#### c1   body| \t\t\t\n
#### c1   body| \t\t foo\n
#### c1   body| \t\t \n
#### c1   body| \t\t\n
#### c1   body| \n
#### c1   body| \t\t\n
#### c1   body| \n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\t</>\n
#### c1   body| \t\t\n
#### c1   body| \n
#### c1   body| \t\t\n
#### c1   body| \n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\t\n
#### c1   body| \t\tIncluded file 2\n
#### c1   body| \t\t<!--esi\n
#### c1   body| \t\t<![CDATA[fooo\n
#### c1   body| \t\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00008.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19924) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19924) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19901 Status: 0200
#    TEST ././tests/e00008.vtc completed
PASS: ./tests/e00008.vtc
#    TEST ././tests/e00009.vtc starting
#    TEST ESI binary detector
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.b2XKwG (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_fetch {\n\t\tesi;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (19981) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (19981) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (19981) said Child starts\n
#### v1   debug| Child (19981) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (19981) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 72\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\tBefore include\n
#### s1   txresp| \t\t<esi:remove>\n
#### s1   txresp| \t\t\tbar\n
#### s1   txresp| \t\t</esi:remove>\n
#### s1   txresp| \t\t<esi:include\n
#### s1   txresp| \t\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 72\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:46 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 72
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:46 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| \n
#### c1   body| \t\tBefore include\n
#### c1   body| \t\t<esi:remove>\n
#### c1   body| \t\t\tbar\n
#### c1   body| \t\t</esi:remove>\n
#### c1   body| \t\t<esi:include\n
#### c1   body| \t
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.content-length (72) == 72 (72) match
###  c1   Closing fd 9
##   c1   Ending
#### v1   CLI TX| param.set esi_syntax 1
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.set esi_syntax 1>
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET bar HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 72\r\n
#### s1   txresp| \r\n
#### s1   txresp| \n
#### s1   txresp| \t\tBefore include\n
#### s1   txresp| \t\t<esi:remove>\n
#### s1   txresp| \t\t\tbar\n
#### s1   txresp| \t\t</esi:remove>\n
#### s1   txresp| \t\t<esi:include\n
#### s1   txresp| \t\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Transfer-Encoding: chunked\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:46 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Transfer-Encoding: chunked
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:46 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   len| 17\r\n
#### c1   chunk| \n
#### c1   chunk| \t\tBefore include\n
#### c1   chunk| \t\t\n
#### c1   chunk| \t\t
#### c1   len| e\r\n
#### c1   chunk| <esi:include\n
#### c1   chunk| \t
#### c1   len| 0\r\n
#### c1   body| \n
#### c1   body| \t\tBefore include\n
#### c1   body| \t\t\n
#### c1   body| \t\t<esi:include\n
#### c1   body| \t\r\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.transfer-encoding (chunked) == chunked (chunked) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/e00009.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (19981) said EOF on CLI connection, exiting\n
#### v1   debug| Child (19981) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 19958 Status: 0200
#    TEST ././tests/e00009.vtc completed
PASS: ./tests/e00009.vtc
#    TEST ././tests/r00102.vtc starting
#    TEST Test VCL regsub()
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.9mwq6P (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\tsub vcl_recv {\n\t\tif (req.request == \"POST\") {\n\t\t\tset req.request = \"GET\";\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20040) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20040) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20040) said Child starts\n
#### v1   debug| Child (20040) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20040) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| POST / HTTP/1.1\r\n
#### c1   txreq| Content-Length: 10\r\n
#### c1   txreq| Content-Length: 10\r\n
#### c1   txreq| \r\n
#### c1   txreq| 123456789\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:47 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:47 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
#### c1   txreq| POST / HTTP/1.1\r\n
#### c1   txreq| Content-Length: 10\r\n
#### c1   txreq| Content-Length: 10\r\n
#### c1   txreq| \r\n
#### c1   txreq| 123456789\n
#### c1   txreq| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:47 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:47 GMT
#### c1   http[ 5] | X-Varnish: 1002 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1002 1001) == 1002 1001 (1002 1001) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/r00102.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20040) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20040) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20017 Status: 0200
#    TEST ././tests/r00102.vtc completed
PASS: ./tests/r00102.vtc
#    TEST ././tests/r00251.vtc starting
#    TEST Regression test for #251: segfault on regsub on missing http header
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.uW1n8Z (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\tsub vcl_fetch {\n\t\tset obj.http.Snafu1 =\n\t\t    \"zoom\"\n\t\t    regsub(obj.http.Foomble, \"ar\", \"\\0\\0\")\n\t\t    \"box\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20097) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20097) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20097) said Child starts\n
#### v1   debug| Child (20097) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20097) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
##   s1   Started on 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9081 fd is 8
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 9
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Foobar: _barf_\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 9
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Foobar: _barf_\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Snafu1: zoombox\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:48 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Foobar: _barf_
#### c1   http[ 4] | Content-Length: 7
#### c1   http[ 5] | Snafu1: zoombox
#### c1   http[ 6] | Date: Fri, 22 Aug 2008 07:09:48 GMT
#### c1   http[ 7] | X-Varnish: 1001
#### c1   http[ 8] | Age: 0
#### c1   http[ 9] | Via: 1.1 varnish
#### c1   http[10] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
#### c1   EXPECT resp.http.foobar (_barf_) == _barf_ (_barf_) match
#### c1   EXPECT resp.http.snafu1 (zoombox) == zoombox (zoombox) match
###  c1   Closing fd 8
##   c1   Ending
#    RESETTING after ././tests/r00251.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20097) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20097) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20074 Status: 0200
#    TEST ././tests/r00251.vtc completed
PASS: ./tests/r00251.vtc
#    TEST ././tests/r00255.vtc starting
#    TEST Regression test for #255: Segfault on header token separation
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.JGCXr6 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n sub vcl_recv {set req.backend = s1;} "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20154) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20154) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20154) said Child starts\n
#### v1   debug| Child (20154) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20154) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
##   s1   Started on 127.0.0.1:9080
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Date: Thu, 19 Jun 2008 21:14:49 GMT\r\n
#### s1   txresp| Expires: Thu, 19 Jun 2008 21:14:49 GMT\r\n
#### s1   txresp| Last-Modified: Sun, 27 Nov 2005 05:41:47 GMT\r\n
#### s1   txresp| Cache-Control: max-age =0\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Expires: Thu, 19 Jun 2008 21:14:49 GMT\r\n
#### c1   rxhdr| Last-Modified: Sun, 27 Nov 2005 05:41:47 GMT\r\n
#### c1   rxhdr| Cache-Control: max-age =0\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:49 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Expires: Thu, 19 Jun 2008 21:14:49 GMT
#### c1   http[ 4] | Last-Modified: Sun, 27 Nov 2005 05:41:47 GMT
#### c1   http[ 5] | Cache-Control: max-age =0
#### c1   http[ 6] | Content-Length: 7
#### c1   http[ 7] | Date: Fri, 22 Aug 2008 07:09:49 GMT
#### c1   http[ 8] | X-Varnish: 1001
#### c1   http[ 9] | Age: 0
#### c1   http[10] | Via: 1.1 varnish
#### c1   http[11] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
#### c1   EXPECT resp.http.Cache-Control (max-age =0) == max-age =0 (max-age =0) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/r00255.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20154) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20154) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20131 Status: 0200
#    TEST ././tests/r00255.vtc completed
PASS: ./tests/r00255.vtc
#    TEST ././tests/r00262.vtc starting
#    TEST Test that inter-request whitespace trimming works
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -p session_linger=20
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.EkQVCg (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20210) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20210) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20210) said Child starts\n
#### v1   debug| Child (20210) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20210) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 7)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   send| GET / HTTP/1.1\r\n
#### c1   send| \r\n
#### c1   send| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:50 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:50 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
#### c1   send| GET / HTTP/1.1\r\n
#### c1   send| \r\n
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:50 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:50 GMT
#### c1   http[ 5] | X-Varnish: 1002 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
#### c1   EXPECT resp.http.X-Varnish (1002 1001) == 1002 1001 (1002 1001) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/r00262.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20210) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20210) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20187 Status: 0200
#    TEST ././tests/r00262.vtc completed
PASS: ./tests/r00262.vtc
#    TEST ././tests/r00263.vtc starting
#    TEST Test refcounting backends from director
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.fEtbpn (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "\n\tbackend node1 { .host = \"10.0.0.1\"; .port = \"80\"; }\n\tbackend node2 { .host = \"10.0.0.2\"; .port = \"80\"; }\n\tbackend node3 { .host = \"10.0.0.3\"; .port = \"80\"; }\n\n\tdirector cluster random {\n\t\t{ .backend = node1; .weight = 1; }\n\t\t{ .backend = node2; .weight = 1; }\n\t\t{ .backend = node3; .weight = 1; }\n\t}\n\n\tsub vcl_recv {\n\t\tset req.backend = cluster;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20267) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20267) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20267) said Child starts\n
#### v1   debug| Child (20267) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20267) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (20267) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20267) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20244 Status: 0200
#    RESETTING after ././tests/r00263.vtc
#    TEST ././tests/r00263.vtc completed
PASS: ./tests/r00263.vtc
#    TEST ././tests/r00292.vtc starting
#    TEST Header deletion test
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.eGpYav (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\n\tsub vcl_recv {\n\t\tremove req.http.hdr1;\n\t\tremove req.http.hdr5;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20320) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20320) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20320) said Child starts\n
#### v1   debug| Child (20320) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20320) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| Connection: hdr3\r\n
#### c1   txreq| hdr1: 1\r\n
#### c1   txreq| hdr2: 2\r\n
#### c1   txreq| hdr3: 3\r\n
#### c1   txreq| hdr4: 4\r\n
#### c1   txreq| hdr5: 5\r\n
#### c1   txreq| hdr6: 6\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| hdr2: 2\r\n
#### s1   rxhdr| hdr4: 4\r\n
#### s1   rxhdr| hdr6: 6\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | hdr2: 2
#### s1   http[ 4] | hdr4: 4
#### s1   http[ 5] | hdr6: 6
#### s1   http[ 6] | X-Varnish: 1001
#### s1   http[ 7] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 8] | Host: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   EXPECT req.http.hdr1 (req.http.hdr1) == req.http.hdr1 (req.http.hdr1) match
#### s1   EXPECT req.http.hdr2 (2) == 2 (2) match
#### s1   EXPECT req.http.hdr3 (req.http.hdr3) == req.http.hdr3 (req.http.hdr3) match
#### s1   EXPECT req.http.hdr4 (4) == 4 (4) match
#### s1   EXPECT req.http.hdr5 (req.http.hdr5) == req.http.hdr5 (req.http.hdr5) match
#### s1   EXPECT req.http.hdr6 (6) == 6 (6) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| foobar\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 6\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:53 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 6
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:09:53 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foobar
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/r00292.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (20320) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20320) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20297 Status: 0200
#    TEST ././tests/r00292.vtc completed
PASS: ./tests/r00292.vtc
#    TEST ././tests/s00000.vtc starting
#    TEST Simple expiry test
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.8wQ6pC (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20377) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20377) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20377) said Child starts\n
#### v1   debug| Child (20377) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20377) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Cache-control: max-age = 1\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1111\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Cache-control: max-age = 1\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:54 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Cache-control: max-age = 1
#### c1   http[ 4] | Content-Length: 5
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:54 GMT
#### c1   http[ 6] | X-Varnish: 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| 1111\n
#### c1   EXPECT resp.http.content-length (5) == 5 (5) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
###  s1   rxreq
##   c2   Starting client
##   c2   Waiting for client
##   c2   Started
###  c2   Connect to 127.0.0.1:9081
###  c2   Connected to 127.0.0.1:9081 fd is 9
#### c2   txreq| GET / HTTP/1.1\r\n
#### c2   txreq| \r\n
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Cache-control: max-age = 1\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| 22222\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  c2   rxresp
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Cache-control: max-age = 1\r\n
#### c2   rxhdr| Content-Length: 6\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:09:57 GMT\r\n
#### c2   rxhdr| X-Varnish: 1002\r\n
#### c2   rxhdr| Age: 0\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Cache-control: max-age = 1
#### c2   http[ 4] | Content-Length: 6
#### c2   http[ 5] | Date: Fri, 22 Aug 2008 07:09:57 GMT
#### c2   http[ 6] | X-Varnish: 1002
#### c2   http[ 7] | Age: 0
#### c2   http[ 8] | Via: 1.1 varnish
#### c2   http[ 9] | Connection: keep-alive
#### c2   body| 22222\n
#### c2   EXPECT resp.status (200) == 200 (200) match
#### c2   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
#### c2   EXPECT resp.http.content-length (6) == 6 (6) match
###  c2   Closing fd 9
##   c2   Ending
#    RESETTING after ././tests/s00000.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (20377) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20377) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20354 Status: 0200
#    TEST ././tests/s00000.vtc completed
PASS: ./tests/s00000.vtc
#    TEST ././tests/s00001.vtc starting
#    TEST Simple expiry test (fully reaped object)
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.DpYdj1 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20437) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20437) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20437) said Child starts\n
#### v1   debug| Child (20437) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20437) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Cache-control: max-age = 1\r\n
#### s1   txresp| Content-Length: 5\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1111\n
#### s1   txresp| \r\n
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Cache-control: max-age = 1\r\n
#### c1   rxhdr| Content-Length: 5\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:09:58 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Cache-control: max-age = 1
#### c1   http[ 4] | Content-Length: 5
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:09:58 GMT
#### c1   http[ 6] | X-Varnish: 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| 1111\n
#### c1   EXPECT resp.http.content-length (5) == 5 (5) match
#### c1   EXPECT resp.http.x-varnish (1001) == 1001 (1001) match
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
###  s1   rxreq
##   c2   Starting client
##   c2   Waiting for client
##   c2   Started
###  c2   Connect to 127.0.0.1:9081
###  c2   Connected to 127.0.0.1:9081 fd is 9
#### c2   txreq| GET / HTTP/1.1\r\n
#### c2   txreq| \r\n
###  c2   rxresp
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/) == / (/) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Cache-control: max-age = 1\r\n
#### s1   txresp| Content-Length: 6\r\n
#### s1   txresp| \r\n
#### s1   txresp| 22222\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Cache-control: max-age = 1\r\n
#### c2   rxhdr| Content-Length: 6\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:10:18 GMT\r\n
#### c2   rxhdr| X-Varnish: 1002\r\n
#### c2   rxhdr| Age: 0\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Cache-control: max-age = 1
#### c2   http[ 4] | Content-Length: 6
#### c2   http[ 5] | Date: Fri, 22 Aug 2008 07:10:18 GMT
#### c2   http[ 6] | X-Varnish: 1002
#### c2   http[ 7] | Age: 0
#### c2   http[ 8] | Via: 1.1 varnish
#### c2   http[ 9] | Connection: keep-alive
#### c2   body| 22222\n
#### c2   EXPECT resp.status (200) == 200 (200) match
#### c2   EXPECT resp.http.x-varnish (1002) == 1002 (1002) match
#### c2   EXPECT resp.http.content-length (6) == 6 (6) match
###  c2   Closing fd 9
##   c2   Ending
#    RESETTING after ././tests/s00001.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20437) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20437) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20414 Status: 0200
#    TEST ././tests/s00001.vtc completed
PASS: ./tests/s00001.vtc
#    TEST ././tests/v00000.vtc starting
#    TEST VCL/VRT: req.grace, obj.ttl and obj.grace
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.4NErK7 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_recv {\n\t\tset req.grace += 1 s;\n\t}\n\tsub vcl_fetch {\n\t\tset obj.ttl += 1 m;\n\t\tset obj.grace += 1 h;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20500) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20500) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20500) said Child starts\n
#### v1   debug| Child (20500) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20500) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:19 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:19 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 012345\n
#### c1   EXPECT resp.status (200) == 200 (200) match
###  c1   Closing fd 9
##   c1   Ending
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20500) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20500) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
#    RESETTING after ././tests/v00000.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20477 Status: 0200
#    TEST ././tests/v00000.vtc completed
PASS: ./tests/v00000.vtc
#    TEST ././tests/v00001.vtc starting
#    TEST VCL/VRT: url/request/proto/response/status
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
##   s1   Started on 127.0.0.1:9080
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.TzGrkl (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 4
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tsub vcl_recv {\n\t\tset req.http.foobar =\n\t\t    req.url\n\t\t    req.request\n\t\t    req.proto;\n\t\tset req.url = \"/\";\n\t\tset req.proto = \"HTTP/1.2\";\n\t\tset req.request = \"GET\";\n\t}\n\tsub vcl_miss {\n\t\tset bereq.http.foobar =\n\t\t    bereq.url\n\t\t    bereq.proto;\n\t\tset bereq.url = \"/\";\n\t\tset bereq.proto = \"HTTP/1.2\";\n\t\tset bereq.request = \"GET\";\n\t}\n\tsub vcl_fetch {\n\t\tset obj.http.foobar =\n\t\t    obj.proto obj.response obj.status;\n\t\tset obj.proto = \"HTTP/1.2\";\n\t\tset obj.response = \"For circular files\";\n\t\tset obj.status = 903;\n\t}\n\tsub vcl_deliver {\n\t\tset resp.proto = \"HTTP/1.2\";\n\t\tset resp.response = \"Naah, lets fail it\";\n\t\tset resp.status = 904;\n\t\tset resp.http.foobar =\n\t\t    resp.proto\n\t\t    resp.status;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20558) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20558) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20558) said Child starts\n
#### v1   debug| Child (20558) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20558) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.2\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| foobar: /HTTP/1.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.2
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | foobar: /HTTP/1.1
#### s1   http[ 6] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Connection: close\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.2 904 Naah, lets fail it\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:20 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| foobar: HTTP/1.2903\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.2
#### c1   http[ 1] | 904
#### c1   http[ 2] | Naah, lets fail it
#### c1   http[ 3] | Content-Length: 7
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:20 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   http[ 9] | foobar: HTTP/1.2903
#### c1   body| 012345\n
#### c1   EXPECT resp.status (904) == 904 (904) match
###  c1   Closing fd 9
##   c1   Ending
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20558) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20558) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
#    RESETTING after ././tests/v00001.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20535 Status: 0200
#    TEST ././tests/v00001.vtc completed
PASS: ./tests/v00001.vtc
#    TEST ././tests/v00002.vtc starting
#    TEST VCL: test syntax/semantic checks on backend decls.
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.vlpM2Q (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "\n"
#### v1   CLI RX| No backends or directors found in VCL program, at least one is necessary.\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl2 "\n\tbackend b1 {\n\t\t.host = \"localhost\";\n\t}\n\tsub vcl_recv {\n\t\tset req.backend = b2;\n\t}\n"
#### v1   CLI RX| Undefined backend b2, first reference:\n
#### v1   CLI RX| (input Line 6 Pos 35)\n
#### v1   CLI RX|                 set req.backend = b2;\n
#### v1   CLI RX| ----------------------------------##-\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl3 "\n\tbackend b1 {\n\t\t.port = \"http\";\n\t}\n"
#### v1   CLI RX| Mandatory field 'host' missing.\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl4 "\n\tbackend b1 {\n\t\t.host = \"foo\";\n\t\t.host = \"bar\";\n\t}\n"
#### v1   CLI RX| Field 'host' redefined at:\n
#### v1   CLI RX| (input Line 4 Pos 18)\n
#### v1   CLI RX|                 .host = "bar";\n
#### v1   CLI RX| -----------------####---------\n
#### v1   CLI RX| \n
#### v1   CLI RX| First defined at:\n
#### v1   CLI RX| (input Line 3 Pos 18)\n
#### v1   CLI RX|                 .host = "foo";\n
#### v1   CLI RX| -----------------####---------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl5 "\n\tbackend b1 {\n\t\t.host = \"foo\";\n\t\t.port = \"http\";\n\t\t.port = \"https\";\n\t}\n"
#### v1   CLI RX| Field 'port' redefined at:\n
#### v1   CLI RX| (input Line 5 Pos 18)\n
#### v1   CLI RX|                 .port = "https";\n
#### v1   CLI RX| -----------------####-----------\n
#### v1   CLI RX| \n
#### v1   CLI RX| First defined at:\n
#### v1   CLI RX| (input Line 4 Pos 18)\n
#### v1   CLI RX|                 .port = "http";\n
#### v1   CLI RX| -----------------####----------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl6 "\n\tbackend b1 {\n\t\t.host = \"foo\";\n\t\t.connect_timeout = 1m;\n\t\t.connect_timeout = 1m;\n\t}\n"
#### v1   CLI RX| Field 'connect_timeout' redefined at:\n
#### v1   CLI RX| (input Line 5 Pos 18)\n
#### v1   CLI RX|                 .connect_timeout = 1m;\n
#### v1   CLI RX| -----------------###############------\n
#### v1   CLI RX| \n
#### v1   CLI RX| First defined at:\n
#### v1   CLI RX| (input Line 4 Pos 18)\n
#### v1   CLI RX|                 .connect_timeout = 1m;\n
#### v1   CLI RX| -----------------###############------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl7 "\n\tbackend b1 {\n\t\t.host = \"localhost\";\n\t\t.foobar = 123;\n\t}\n"
#### v1   CLI RX| Unknown field: 'foobar' at\n
#### v1   CLI RX| (input Line 4 Pos 18)\n
#### v1   CLI RX|                 .foobar = 123;\n
#### v1   CLI RX| -----------------######-------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl8 "\n\tbackend b1 { .host = \"127.0.0.2\"; }\n\tdirector r1 random {\n\t\t{ .weight = 1; .backend = b1; }\n\t\t{ .weight = 1; .backend = { .host = \"127.0.0.3\"; } }\n\t\t{ .weight = 1; .backend = 3745; }  // Brownie points for getting the joke\n\t}\n"
#### v1   CLI RX| Expected a backend host specification here, either by name or by {...}\n
#### v1   CLI RX| '3745' at\n
#### v1   CLI RX| (input Line 6 Pos 43)\n
#### v1   CLI RX|                 { .weight = 1; .backend = 3745; }  // Brownie points for getting the joke\n
#### v1   CLI RX| ------------------------------------------####-------------------------------------------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In director specfication starting at:\n
#### v1   CLI RX| (input Line 3 Pos 9)\n
#### v1   CLI RX|         director r1 random {\n
#### v1   CLI RX| --------########------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl9 "\n\tbackend b1 { .host = \"127.0.0.2\"; }\n\tbackend b2 b1;\n"
#### v1   CLI RX| Expected '{' got 'b1'\n
#### v1   CLI RX| (program line 488), at\n
#### v1   CLI RX| (input Line 3 Pos 20)\n
#### v1   CLI RX|         backend b2 b1;\n
#### v1   CLI RX| -------------------##-\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 3 Pos 9)\n
#### v1   CLI RX|         backend b2 b1;\n
#### v1   CLI RX| --------#######-------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl10 "\n\tbackend b-1 { .host = \"127.0.0.2\"; }\n"
#### v1   CLI RX| Identifier 'b-1' contains illegal characters, use [0-9a-zA-Z_] only.\n
#### v1   CLI RX| (input Line 2 Pos 17)\n
#### v1   CLI RX|         backend b-1 { .host = "127.0.0.2"; }\n
#### v1   CLI RX| ----------------###-------------------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl11 "\n\tbackend b1 { .host = \"127.0.0.2\"; }\n\tsub vcl_recv {\n\t\tset req.backend = b-1;\n\t}\n"
#### v1   CLI RX| Identifier 'b-1' contains illegal characters, use [0-9a-zA-Z_] only.\n
#### v1   CLI RX| (input Line 4 Pos 35)\n
#### v1   CLI RX|                 set req.backend = b-1;\n
#### v1   CLI RX| ----------------------------------###-\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl12 "\n\tbackend b1 {\n\t\tset host = \"localhost\";\n\t}\n"
#### v1   CLI RX| NB: Backend Syntax has changed:\n
#### v1   CLI RX| Remove "set" and "backend" in front of backend fields.\n
#### v1   CLI RX| 'set' at (input Line 3 Pos 17)\n
#### v1   CLI RX|                 set host = "localhost";\n
#### v1   CLI RX| ----------------###--------------------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl13 "\n\tbackend b1 {\n\t\t.host = k\"foo\";\n\t\t.connect_timeout = 1 q;\n\t}\n"
#### v1   CLI RX| Expected CSTR got 'k'\n
#### v1   CLI RX| (program line 522), at\n
#### v1   CLI RX| (input Line 3 Pos 25)\n
#### v1   CLI RX|                 .host = k"foo";\n
#### v1   CLI RX| ------------------------#------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl14 "\n\tbackend b1 { .host = \"127.0.0.1\"; }\n\tbackend b1 { .host = \"127.0.0.1\"; }\n"
#### v1   CLI RX| Multiple definitions of backend "b1"\n
#### v1   CLI RX| (input Line 2 Pos 17)\n
#### v1   CLI RX|         backend b1 { .host = "127.0.0.1"; }\n
#### v1   CLI RX| ----------------##-------------------------\n
#### v1   CLI RX| ...and\n
#### v1   CLI RX| (input Line 3 Pos 17)\n
#### v1   CLI RX|         backend b1 { .host = "127.0.0.1"; }\n
#### v1   CLI RX| ----------------##-------------------------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 3 Pos 9)\n
#### v1   CLI RX|         backend b1 { .host = "127.0.0.1"; }\n
#### v1   CLI RX| --------#######----------------------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl15 "\n\tdirector r1 anarchy { .host = \"127.0.0.1\"; }\n"
#### v1   CLI RX| Unknown director policy: 'anarchy' at\n
#### v1   CLI RX| (input Line 2 Pos 21)\n
#### v1   CLI RX|         director r1 anarchy { .host = "127.0.0.1"; }\n
#### v1   CLI RX| --------------------#######-------------------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#    RESETTING after ././tests/v00002.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20591 Status: 0200
#    TEST ././tests/v00002.vtc completed
PASS: ./tests/v00002.vtc
#    TEST ././tests/v00003.vtc starting
#    TEST VCL: test syntax/semantic checks on director decls.
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.SNwirP (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "\n\tdirector r1 random {\n\t\t{ .backend = { .foo = 2; }; .weight = 1;}\n\t}\n"
#### v1   CLI RX| Unknown field: 'foo' at\n
#### v1   CLI RX| (input Line 3 Pos 33)\n
#### v1   CLI RX|                 { .backend = { .foo = 2; }; .weight = 1;}\n
#### v1   CLI RX| --------------------------------###----------------------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend host specfication starting at:\n
#### v1   CLI RX| (input Line 3 Pos 30)\n
#### v1   CLI RX|                 { .backend = { .foo = 2; }; .weight = 1;}\n
#### v1   CLI RX| -----------------------------#---------------------------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In director specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         director r1 random {\n
#### v1   CLI RX| --------########------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl2 "\n\tdirector r1 random {\n\t\t{ .backend = b2; .weight = 1; }\n\t}\n"
#### v1   CLI RX| Reference to unknown backend 'b2' at\n
#### v1   CLI RX| (input Line 3 Pos 30)\n
#### v1   CLI RX|                 { .backend = b2; .weight = 1; }\n
#### v1   CLI RX| -----------------------------##----------------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In director specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         director r1 random {\n
#### v1   CLI RX| --------########------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl3 "\n\tdirector r1 random {\n\t\t{ .weight = 1; }\n\t}\n"
#### v1   CLI RX| Mandatory field 'backend' missing.\n
#### v1   CLI RX| \n
#### v1   CLI RX| In member host specfication starting at:\n
#### v1   CLI RX| (input Line 3 Pos 17)\n
#### v1   CLI RX|                 { .weight = 1; }\n
#### v1   CLI RX| ----------------#---------------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In director specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         director r1 random {\n
#### v1   CLI RX| --------########------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl4 "\n\tdirector r1 random {\n\t\t{ .backend = {.host = \"127.0.0.1\";}  .weight = k; }\n\t}\n"
#### v1   CLI RX| Expected CNUM got 'k'\n
#### v1   CLI RX| (program line 86), at\n
#### v1   CLI RX| (input Line 3 Pos 64)\n
#### v1   CLI RX|                 { .backend = {.host = "127.0.0.1";}  .weight = k; }\n
#### v1   CLI RX| ---------------------------------------------------------------#---\n
#### v1   CLI RX| \n
#### v1   CLI RX| In director specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         director r1 random {\n
#### v1   CLI RX| --------########------------\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#    RESETTING after ././tests/v00003.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20627 Status: 0200
#    TEST ././tests/v00003.vtc completed
PASS: ./tests/v00003.vtc
#    TEST ././tests/v00004.vtc starting
#    TEST VCL: test creation/destruction of backends
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.GEoKH8 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "\n\tbackend b1 {\n\t\t.host = \"127.0.0.1\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.list
#### v1   CLI RX| active        N/A vcl1\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.list>
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20686) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20686) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20686) said Child starts\n
#### v1   debug| Child (20686) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20686) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   v1   as expected: n_backend (1) == 1
#### v1   CLI TX| vcl.inline vcl2 "\n\tbackend b1 {\n\t\t.host = \"127.0.0.1\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
##   v1   as expected: n_backend (1) == 1
##   v1   as expected: n_vcl (2) == 2
#### v1   CLI TX| vcl.inline vcl3 "\n\tbackend b2 {\n\t\t.host = \"127.0.0.1\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl3
###  v1   CLI STATUS 200
##   v1   as expected: n_backend (2) == 2
##   v1   as expected: n_vcl (3) == 3
#### v1   CLI TX| vcl.discard vcl1
#### v1   debug| unlink ./vcl.1P9zoqAU.so\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.discard vcl1>
##   v1   as expected: n_backend (2) == 2
##   v1   as expected: n_vcl (2) == 2
#### v1   CLI TX| vcl.discard vcl2
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.discard vcl2>
##   v1   as expected: n_backend (1) == 1
##   v1   as expected: n_vcl (1) == 1
#### v1   CLI TX| vcl.inline vcl4 "\n\tbackend b2 {\n\t\t.host = \"127.0.0.1\";\n\t}\n\tdirector r1 random {\n\t\t{ .backend = { .host = \"127.0.0.1\"; } .weight = 1; }\n\t\t{ .backend = b2 ; .weight = 1; }\n\t}\n\tsub vcl_recv {\n\t\tset req.backend = r1;\n\t}\n"
#### v1   debug| unlink ./vcl.FANefPfn.so\n
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl4
###  v1   CLI STATUS 200
##   v1   as expected: n_backend (2) == 2
##   v1   as expected: n_vcl (2) == 2
#### v1   CLI TX| vcl.use vcl3
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.use vcl3>
##   v1   as expected: n_backend (2) == 2
##   v1   as expected: n_vcl (2) == 2
#### v1   CLI TX| vcl.discard vcl4
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.discard vcl4>
##   v1   as expected: n_backend (1) == 1
##   v1   as expected: n_vcl (1) == 1
#    RESETTING after ././tests/v00004.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| unlink ./vcl.iQQD1J50.so\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (20686) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20686) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20663 Status: 0200
#    TEST ././tests/v00004.vtc completed
PASS: ./tests/v00004.vtc
#    TEST ././tests/v00005.vtc starting
#    TEST VCL: test backend probe syntax
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.XSiXfY (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 3
#### v1   CLI TX| vcl.inline vcl1 "\n\tbackend b1 {\n\t\t.host = \"localhost\";\n\t\t.probe = {\n\t\t\t.url = \"/\";\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.inline vcl2 "\n\tbackend b1 {\n\t\t.host = \"localhost\";\n\t\t.probe = {\n\t\t\t.request = \n\t\t\t    \"GET / HTTP/1.1\"\n\t\t\t    \"Host: foo.bar\" ;\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.inline vcl3 "\n\tbackend b1 {\n\t\t.host = \"localhost\";\n\t\t.probe = {\n\t\t\t.url = \"/\";\n\t\t\t.request = \n\t\t\t    \"GET / HTTP/1.1\"\n\t\t\t    \"Host: foo.bar\" ;\n\t\t}\n\t}\n"
#### v1   CLI RX| Probe request redefinition at:\n
#### v1   CLI RX| (input Line 6 Pos 26)\n
#### v1   CLI RX|                         .request = \n
#### v1   CLI RX| -------------------------#######---\n
#### v1   CLI RX| Previous definition:\n
#### v1   CLI RX| (input Line 5 Pos 26)\n
#### v1   CLI RX|                         .url = "/";\n
#### v1   CLI RX| -------------------------###-------\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#### v1   CLI TX| vcl.inline vcl4 "\n\tbackend b1 {\n\t\t.host = \"localhost\";\n\t\t.probe = {\n\t\t\t.request = \n\t\t\t    \"GET / HTTP/1.1\"\n\t\t\t    \"Host: foo.bar\" ;\n\t\t\t.url = \"/\";\n\t\t}\n\t}\n"
#### v1   CLI RX| Probe request redefinition at:\n
#### v1   CLI RX| (input Line 8 Pos 26)\n
#### v1   CLI RX|                         .url = "/";\n
#### v1   CLI RX| -------------------------###-------\n
#### v1   CLI RX| Previous definition:\n
#### v1   CLI RX| (input Line 5 Pos 26)\n
#### v1   CLI RX|                         .request = \n
#### v1   CLI RX| -------------------------#######---\n
#### v1   CLI RX| \n
#### v1   CLI RX| In backend specfication starting at:\n
#### v1   CLI RX| (input Line 2 Pos 9)\n
#### v1   CLI RX|         backend b1 {\n
#### v1   CLI RX| --------#######-----\n
#### v1   CLI RX| VCL compilation failed
###  v1   CLI STATUS 106
##   v1   VCL compilation failed (as expected)
#    RESETTING after ././tests/v00005.vtc
##   v1   Stop
#### v1   CLI TX| stop
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 300
#### v1   CLI TX| status
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20735 Status: 0200
#    TEST ././tests/v00005.vtc completed
PASS: ./tests/v00005.vtc
#    TEST ././tests/v00006.vtc starting
#    TEST VCL: Test backend retirement
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 -p thread_pools=1 -w1,1,300
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.lWHlFC (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "\n\tbackend b1 {\n\t\t.host = \"localhost\";\n\t\t.port = \"9080\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20805) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20805) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20805) said Child starts\n
#### v1   debug| Child (20805) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20805) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   s1   Waiting for server
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: localhost\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: localhost
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
##   c1   Waiting for client
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 0\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:28 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 0
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:28 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
###  c1   Closing fd 9
##   c1   Ending
##   v1   as expected: n_backend (1) == 1
##   v1   as expected: n_vcl_avail (1) == 1
##   v1   as expected: n_vcl_discard (0) == 0
##   s2   Starting server
###  s2   listen on 127.0.0.1:9180 (fd 3)
##   s2   Started on 127.0.0.1:9180
#### v1   CLI TX| vcl.inline vcl2 "\n\tbackend b2 {\n\t\t.host = \"localhost\";\n\t\t.port = \"9180\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
##   v1   as expected: n_backend (2) == 2
##   v1   as expected: n_vcl_avail (2) == 2
##   v1   as expected: n_vcl_discard (0) == 0
#### v1   CLI TX| debug.backend
#### v1   CLI RX| 0x9d4e8a0 b1 1\n
#### v1   CLI RX| 0x9d4f0b8 b2 1\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <debug.backend>
#### v1   CLI TX| vcl.list
#### v1   CLI RX| available       1 vcl1\n
#### v1   CLI RX| active          0 vcl2\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.list>
#### v1   CLI TX| vcl.discard vcl1
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.discard vcl1>
##   v1   as expected: n_backend (2) == 2
##   v1   as expected: n_vcl_avail (1) == 1
##   v1   as expected: n_vcl_discard (1) == 1
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
#### v1   debug| unlink ./vcl.1P9zoqAU.so\n
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s2   Accepted socket fd is 4
###  s2   rxreq
#### s2   rxhdr| GET /foo HTTP/1.1\r\n
#### s2   rxhdr| X-Varnish: 1002\r\n
#### s2   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s2   rxhdr| Host: localhost\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /foo
#### s2   http[ 2] | HTTP/1.1
#### s2   http[ 3] | X-Varnish: 1002
#### s2   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s2   http[ 5] | Host: localhost
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| \r\n
###  s2   shutting fd 4
##   s2   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 0\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:28 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 0
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:28 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
###  c1   Closing fd 9
##   c1   Ending
#### v1   CLI TX| debug.backend
#### v1   CLI RX| 0x9d4f0b8 b2 1\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <debug.backend>
#### v1   CLI TX| vcl.list
#### v1   CLI RX| active          1 vcl2\n
###  v1   CLI STATUS 200
##   v1   CLI 200 <vcl.list>
##   v1   as expected: n_backend (1) == 1
##   v1   as expected: n_vcl_avail (1) == 1
##   v1   as expected: n_vcl_discard (0) == 0
#    RESETTING after ././tests/v00006.vtc
##   s2   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (20805) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20805) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20782 Status: 0200
#    TEST ././tests/v00006.vtc completed
PASS: ./tests/v00006.vtc
#    TEST ././tests/v00007.vtc starting
#    TEST Test random director
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.QkXgAd (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\tdirector foo random {\n\t\t{ .backend = s1; .weight = 1; }\n\t\t{ .weight = 1; .backend = s1; }\n\t}\n\n\tsub vcl_recv {\n\t\tset req.backend = foo;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20862) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20862) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20862) said Child starts\n
#### v1   debug| Child (20862) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20862) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 4\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo1\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 4\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:30 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 4
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:30 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo1
#### c1   txreq| GET /bar HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 4\r\n
#### s1   txresp| \r\n
#### s1   txresp| bar1\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 4\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:30 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 4
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:30 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| bar1
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/v00007.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20862) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20862) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20839 Status: 0200
#    TEST ././tests/v00007.vtc completed
PASS: ./tests/v00007.vtc
#    TEST ././tests/v00008.vtc starting
#    TEST Test host header specification
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.3RN76q (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n "
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20919) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20919) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20919) said Child starts\n
#### v1   debug| Child (20919) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20919) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| Host: snafu\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| Host: snafu\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | Host: snafu
#### s1   http[ 4] | X-Varnish: 1001
#### s1   http[ 5] | X-Forwarded-For: 127.0.0.1
#### s1   EXPECT req.url (/foo) == /foo (/foo) match
#### s1   EXPECT req.http.host (snafu) == snafu (snafu) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 4\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo1\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 4\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:32 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 4
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:32 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo1
#### c1   txreq| GET /bar HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET /bar HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /bar
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   EXPECT req.url (/bar) == /bar (/bar) match
#### s1   EXPECT req.http.host (127.0.0.1) == 127.0.0.1 (127.0.0.1) match
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 4\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo1\r\n
###  s1   shutting fd 4
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 4\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:32 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 4
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:32 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo1
###  c1   Closing fd 9
##   c1   Ending
##   s2   Starting server
###  s2   listen on 127.0.0.1:9180 (fd 4)
##   s2   Started on 127.0.0.1:9180
#### v1   CLI TX| vcl.inline vcl2 "\n\tbackend b1 {\n\t\t.host = \"127.0.0.1\";\n\t\t.port = \"9180\";\n\t\t.host_header = \"FOObar\";\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl2
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 10
#### c1   txreq| GET /barf HTTP/1.1\r\n
#### c1   txreq| \r\n
###  s2   Accepted socket fd is 9
###  s2   rxreq
#### s2   rxhdr| GET /barf HTTP/1.1\r\n
#### s2   rxhdr| X-Varnish: 1003\r\n
#### s2   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s2   rxhdr| Host: FOObar\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /barf
#### s2   http[ 2] | HTTP/1.1
#### s2   http[ 3] | X-Varnish: 1003
#### s2   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s2   http[ 5] | Host: FOObar
#### s2   EXPECT req.url (/barf) == /barf (/barf) match
#### s2   EXPECT req.http.host (FOObar) == FOObar (FOObar) match
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| Content-Length: 4\r\n
#### s2   txresp| \r\n
#### s2   txresp| foo1\r\n
###  s2   shutting fd 9
##   s2   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 4\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:32 GMT\r\n
#### c1   rxhdr| X-Varnish: 1003\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 4
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:32 GMT
#### c1   http[ 5] | X-Varnish: 1003
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo1
###  c1   Closing fd 10
##   c1   Ending
#    RESETTING after ././tests/v00008.vtc
##   s1   Waiting for server
##   s2   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Stopping Child\n
#### v1   debug| Child (20919) said EOF on CLI connection, exiting\n
#### v1   debug| Child (20919) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20896 Status: 0200
#    TEST ././tests/v00008.vtc completed
PASS: ./tests/v00008.vtc
#    TEST ././tests/v00009.vtc starting
#    TEST Test round robin director
##   s1   Starting server
###  s1   listen on 127.0.0.1:2000 (fd 3)
##   s2   Starting server
###  s2   listen on 127.0.0.1:3000 (fd 4)
##   s2   Started on 127.0.0.1:3000
##   s3   Starting server
###  s3   listen on 127.0.0.1:4000 (fd 6)
##   s3   Started on 127.0.0.1:4000
##   s1   Started on 127.0.0.1:2000
##   s4   Starting server
###  s4   listen on 127.0.0.1:5000 (fd 9)
##   s4   Started on 127.0.0.1:5000
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.9ikYsZ (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 11
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"2000\"; }\nbackend s2 { .host = \"127.0.0.1\"; .port = \"3000\"; }\nbackend s3 { .host = \"127.0.0.1\"; .port = \"4000\"; }\nbackend s4 { .host = \"127.0.0.1\"; .port = \"5000\"; }\n\n\tdirector batman round-robin {\n\t\t{ .backend = s1; }\n\t\t{ .backend = s2; }\n\t\t{ .backend = s3; }\n\t\t{ .backend = s4; }\n\t}\n\n\tsub vcl_recv {\n\t\tset req.backend = batman;\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (20988) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (20988) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (20988) said Child starts\n
#### v1   debug| Child (20988) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (20988) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 15
#### c1   txreq| GET /foo1 HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 8
###  s1   rxreq
#### s1   rxhdr| GET /foo1 HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo1
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 1\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1\r\n
###  s1   shutting fd 8
##   s1   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 1\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:34 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 1
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:34 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 1
#### c1   EXPECT resp.http.content-length (1) == 1 (1) match
#### c1   txreq| GET /foo2 HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s2   Accepted socket fd is 5
###  s2   rxreq
#### s2   rxhdr| GET /foo2 HTTP/1.1\r\n
#### s2   rxhdr| X-Varnish: 1002\r\n
#### s2   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s2   rxhdr| Host: 127.0.0.1\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /foo2
#### s2   http[ 2] | HTTP/1.1
#### s2   http[ 3] | X-Varnish: 1002
#### s2   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s2   http[ 5] | Host: 127.0.0.1
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| Content-Length: 2\r\n
#### s2   txresp| \r\n
#### s2   txresp| 22\r\n
###  s2   shutting fd 5
##   s2   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 2\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:34 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 2
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:34 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 22
#### c1   EXPECT resp.http.content-length (2) == 2 (2) match
#### c1   txreq| GET /foo3 HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s3   Accepted socket fd is 7
###  s3   rxreq
#### s3   rxhdr| GET /foo3 HTTP/1.1\r\n
#### s3   rxhdr| X-Varnish: 1003\r\n
#### s3   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s3   rxhdr| Host: 127.0.0.1\r\n
#### s3   rxhdr| \r\n
#### s3   http[ 0] | GET
#### s3   http[ 1] | /foo3
#### s3   http[ 2] | HTTP/1.1
#### s3   http[ 3] | X-Varnish: 1003
#### s3   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s3   http[ 5] | Host: 127.0.0.1
#### s3   txresp| HTTP/1.1 200 Ok\r\n
#### s3   txresp| Content-Length: 3\r\n
#### s3   txresp| \r\n
#### s3   txresp| 333\r\n
###  s3   shutting fd 7
##   s3   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 3\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:34 GMT\r\n
#### c1   rxhdr| X-Varnish: 1003\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 3
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:34 GMT
#### c1   http[ 5] | X-Varnish: 1003
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 333
#### c1   EXPECT resp.http.content-length (3) == 3 (3) match
#### c1   txreq| GET /foo4 HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s4   Accepted socket fd is 10
###  s4   rxreq
#### s4   rxhdr| GET /foo4 HTTP/1.1\r\n
#### s4   rxhdr| X-Varnish: 1004\r\n
#### s4   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s4   rxhdr| Host: 127.0.0.1\r\n
#### s4   rxhdr| \r\n
#### s4   http[ 0] | GET
#### s4   http[ 1] | /foo4
#### s4   http[ 2] | HTTP/1.1
#### s4   http[ 3] | X-Varnish: 1004
#### s4   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s4   http[ 5] | Host: 127.0.0.1
#### s4   txresp| HTTP/1.1 200 Ok\r\n
#### s4   txresp| Content-Length: 4\r\n
#### s4   txresp| \r\n
#### s4   txresp| 4444\r\n
###  s4   shutting fd 10
##   s4   Ending
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 4\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:34 GMT\r\n
#### c1   rxhdr| X-Varnish: 1004\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 4
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:34 GMT
#### c1   http[ 5] | X-Varnish: 1004
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| 4444
#### c1   EXPECT resp.http.content-length (4) == 4 (4) match
###  c1   Closing fd 15
##   c1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:2000 (fd 3)
##   s1   Started on 127.0.0.1:2000
##   s2   Starting server
###  s2   listen on 127.0.0.1:3000 (fd 4)
##   s2   Started on 127.0.0.1:3000
##   c2   Starting client
##   c2   Started
###  c2   Connect to 127.0.0.1:9081
###  c2   Connected to 127.0.0.1:9081 fd is 8
#### c2   txreq| GET /foo11 HTTP/1.1\r\n
#### c2   txreq| \r\n
###  c2   rxresp
##   c2   Waiting for client
###  s1   Accepted socket fd is 5
###  s1   rxreq
#### s1   rxhdr| GET /foo11 HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1005\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo11
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1005
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 1\r\n
#### s1   txresp| \r\n
#### s1   txresp| 1\r\n
###  s1   shutting fd 5
##   s1   Ending
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Content-Length: 1\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:10:34 GMT\r\n
#### c2   rxhdr| X-Varnish: 1005\r\n
#### c2   rxhdr| Age: 0\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Content-Length: 1
#### c2   http[ 4] | Date: Fri, 22 Aug 2008 07:10:34 GMT
#### c2   http[ 5] | X-Varnish: 1005
#### c2   http[ 6] | Age: 0
#### c2   http[ 7] | Via: 1.1 varnish
#### c2   http[ 8] | Connection: keep-alive
#### c2   body| 1
#### c2   EXPECT resp.http.content-length (1) == 1 (1) match
#### c2   txreq| GET /foo22 HTTP/1.1\r\n
#### c2   txreq| \r\n
###  c2   rxresp
###  s2   Accepted socket fd is 7
###  s2   rxreq
#### s2   rxhdr| GET /foo22 HTTP/1.1\r\n
#### s2   rxhdr| X-Varnish: 1006\r\n
#### s2   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s2   rxhdr| Host: 127.0.0.1\r\n
#### s2   rxhdr| \r\n
#### s2   http[ 0] | GET
#### s2   http[ 1] | /foo22
#### s2   http[ 2] | HTTP/1.1
#### s2   http[ 3] | X-Varnish: 1006
#### s2   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s2   http[ 5] | Host: 127.0.0.1
#### s2   txresp| HTTP/1.1 200 Ok\r\n
#### s2   txresp| Content-Length: 2\r\n
#### s2   txresp| \r\n
#### s2   txresp| 22\r\n
###  s2   shutting fd 7
##   s2   Ending
#### c2   rxhdr| HTTP/1.1 200 Ok\r\n
#### c2   rxhdr| Content-Length: 2\r\n
#### c2   rxhdr| Date: Fri, 22 Aug 2008 07:10:34 GMT\r\n
#### c2   rxhdr| X-Varnish: 1006\r\n
#### c2   rxhdr| Age: 0\r\n
#### c2   rxhdr| Via: 1.1 varnish\r\n
#### c2   rxhdr| Connection: keep-alive\r\n
#### c2   rxhdr| \r\n
#### c2   http[ 0] | HTTP/1.1
#### c2   http[ 1] | 200
#### c2   http[ 2] | Ok
#### c2   http[ 3] | Content-Length: 2
#### c2   http[ 4] | Date: Fri, 22 Aug 2008 07:10:34 GMT
#### c2   http[ 5] | X-Varnish: 1006
#### c2   http[ 6] | Age: 0
#### c2   http[ 7] | Via: 1.1 varnish
#### c2   http[ 8] | Connection: keep-alive
#### c2   body| 22
#### c2   EXPECT resp.http.content-length (2) == 2 (2) match
###  c2   Closing fd 8
##   c2   Ending
#    RESETTING after ././tests/v00009.vtc
##   s1   Waiting for server
##   s2   Waiting for server
##   s3   Waiting for server
##   s4   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
#### v1   debug| Child (20988) said EOF on CLI connection, exiting\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (20988) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 20965 Status: 0200
#    TEST ././tests/v00009.vtc completed
PASS: ./tests/v00009.vtc
#    TEST ././tests/v00010.vtc starting
#    TEST VCL: check panic and restart
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   v1   Launch
##   s1   Started on 127.0.0.1:9080
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.Tevlnj (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n\n\n\tsub vcl_fetch {\n\t\tif (obj.http.panic) {\n\t\t\tpanic \"Had Panic header: \" obj.http.panic;\n\t\t}\n\t}\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (21048) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (21048) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (21048) said Child starts\n
#### v1   debug| Child (21048) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (21048) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
#### v1   CLI TX| param.set diag_bitmap 0x00001000
###  v1   CLI STATUS 200
##   v1   CLI 200 <param.set diag_bitmap 0x00001000>
##   c1   Starting client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
##   c1   Waiting for client
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Foo: bar\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| abcdef\n
#### s1   txresp| \r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Foo: bar\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:35 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Foo: bar
#### c1   http[ 4] | Content-Length: 7
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:10:35 GMT
#### c1   http[ 6] | X-Varnish: 1001
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| abcdef\n
#### c1   txreq| GET /foo HTTP/1.1\r\n
#### c1   txreq| \r\n
#### s1   rxhdr| GET /foo HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /foo
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Panic: please\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| 012345\n
#### s1   txresp| \r\n
#### r1   Wake 2
###  s1   shutting fd 4
##   s1   Ending
#### v1   debug| Child (21048) died\n
#### v1   debug| Child (21048) Panic message: Panic from VCL:\n
#### v1   debug| PANIC:  Had Panic header: please\n
#### v1   debug|   thread = (cache-worker)sp = 0x81a9b54 {\n
#### v1   debug|   fd = 7, id = 7, xid = 1002,\n
#### v1   debug|   client = 127.0.0.1:38545,\n
#### v1   debug|   step = 0x9,\n
#### v1   debug|   handling = 0x0,\n
#### v1   debug|   err_code = 200, err_reason = (null),\n
#### v1   debug|   ws = 0x81a9b9c { \n
#### v1   debug|     id = "sess",\n
#### v1   debug|     {s,f,r,e} = {0x81aa01c,,+115,(nil),+8192},\n
#### v1   debug|   },\n
#### v1   debug|     worker = 0x2d5980f4 {\n
#### v1   debug|     },\n
#### v1   debug|     vcl = {\n
#### v1   debug|       srcname = {\n
#### v1   debug|         "input",\n
#### v1   debug|         "Default",\n
#### v1   debug|       },\n
#### v1   debug|     },\n
#### v1   debug|   backend = 0x81b8900 {\n
#### v1   debug|     vcl_name = "s1",\n
#### v1   debug|   },\n
#### v1   debug|   obj = 0x707a1000 {\n
#### v1   debug|     refcnt = 1, xid = 1002,\n
#### v1   debug|     ws = 0x707a1018 { \n
#### v1   debug|       id = "obj",\n
#### v1   debug|       {s,f,r,e} = {0x707a11e0,,+48,(nil),+7712},\n
#### v1   debug|     },\n
#### v1   debug|     http = {\n
#### v1   debug|       ws = 0x707a1018 { \n
#### v1   debug|         id = "obj",\n
#### v1   debug|         {s,f,r,e} = {0x707a11e0,,+48,(nil),+7712},\n
#### v1   debug|       },\n
#### v1   debug|       hd = {\n
#### v1   debug|         "Panic: please",\n
#### v1   debug|         "Content-Length: 7",\n
#### v1   debug|       },\n
#### v1   debug|     },\n
#### v1   debug|     len = 7,\n
#### v1   debug|     store = {\n
#### v1   debug|       7 {\n
#### v1   debug|         30 31 32 33 34 35 0a                            |012345.|\n
#### v1   debug|       },\n
#### v1   debug|     },\n
#### v1   debug|   },\n
#### v1   debug| },\n
#### v1   debug| \n
#### v1   debug| \n
#### v1   debug| Child cleanup complete\n
#### v1   debug| child (21061) Started\n
#### v1   debug| Child (21061) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (21061) said Child starts\n
#### v1   debug| Child (21061) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (21061) said Ready\n
###  c1   Closing fd 9
##   c1   Ending
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   c1   Starting client
##   s1   Started on 127.0.0.1:9080
##   c1   Waiting for client
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 403264462\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 403264462
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Foo: foo\r\n
#### s1   txresp| Content-Length: 7\r\n
#### s1   txresp| \r\n
#### s1   txresp| abcdef\n
#### s1   txresp| \r\n
###  s1   shutting fd 4
##   s1   Ending
###  c1   rxresp
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Foo: foo\r\n
#### c1   rxhdr| Content-Length: 7\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:37 GMT\r\n
#### c1   rxhdr| X-Varnish: 403264462\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Foo: foo
#### c1   http[ 4] | Content-Length: 7
#### c1   http[ 5] | Date: Fri, 22 Aug 2008 07:10:37 GMT
#### c1   http[ 6] | X-Varnish: 403264462
#### c1   http[ 7] | Age: 0
#### c1   http[ 8] | Via: 1.1 varnish
#### c1   http[ 9] | Connection: keep-alive
#### c1   body| abcdef\n
#### c1   EXPECT resp.http.foo (foo) == foo (foo) match
###  c1   Closing fd 9
##   c1   Ending
#    RESETTING after ././tests/v00010.vtc
##   s1   Waiting for server
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (21061) said EOF on CLI connection, exiting\n
#### v1   debug| Child (21061) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 21025 Status: 0200
#    TEST ././tests/v00010.vtc completed
PASS: ./tests/v00010.vtc
#    TEST ././tests/v00011.vtc starting
#    TEST Test vcl purging
##   s1   Starting server
###  s1   listen on 127.0.0.1:9080 (fd 3)
##   s1   Started on 127.0.0.1:9080
##   v1   Launch
###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a '127.0.0.1:9081' -T 127.0.0.1:9001 
###  v1   opening CLI connection
connect(): Connection refused
connect(): Connection refused
#### v1   debug| NB: Storage size limited to 2GB on 32 bit architecture,\n
#### v1   debug| NB: otherwise we could run out of address space.\n
#### v1   debug| storage_file: filename: ./varnish.kWbxc1 (unlinked) size 2047 MB.\n
#### v1   debug| Using old SHMFILE\n
#### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate memory\n
#### v1   debug| Debugging mode, enter "start" to start child\n
###  v1   CLI connection fd = 5
#### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host = \"127.0.0.1\"; .port = \"9080\"; }\n \n\n\tsub vcl_fetch {\n\t\tpurge_url(\"^/$\");\n\t}\n\n"
#### v1   CLI RX| VCL compiled.
###  v1   CLI STATUS 200
#### v1   CLI TX| vcl.use vcl1
###  v1   CLI STATUS 200
##   v1   Start
#### v1   CLI TX| start
#### v1   debug| child (21121) Started\n
###  v1   CLI STATUS 200
#### v1   CLI TX| debug.xid 1000
#### v1   debug| Child (21121) said Closed fds: 5 7 8 11 12 14 15\n
#### v1   debug| Child (21121) said Child starts\n
#### v1   debug| Child (21121) said managed to mmap 2147479552 bytes of 2147479552\n
#### v1   debug| Child (21121) said Ready\n
#### v1   CLI RX| XID is 1000\n
###  v1   CLI STATUS 200
##   c1   Starting client
#    RESETTING after ././tests/v00011.vtc
##   s1   Waiting for server
##   c1   Started
###  c1   Connect to 127.0.0.1:9081
###  c1   Connected to 127.0.0.1:9081 fd is 9
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
###  s1   Accepted socket fd is 4
###  s1   rxreq
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1001\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1001
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 3\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo\r\n
###  s1   rxreq
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 3\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:40 GMT\r\n
#### c1   rxhdr| X-Varnish: 1001\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 3
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:40 GMT
#### c1   http[ 5] | X-Varnish: 1001
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo
#### c1   EXPECT resp.http.X-Varnish (1001) == 1001 (1001) match
#### c1   txreq| GET / HTTP/1.1\r\n
#### c1   txreq| \r\n
###  c1   rxresp
#### s1   rxhdr| GET / HTTP/1.1\r\n
#### s1   rxhdr| X-Varnish: 1002\r\n
#### s1   rxhdr| X-Forwarded-For: 127.0.0.1\r\n
#### s1   rxhdr| Host: 127.0.0.1\r\n
#### s1   rxhdr| \r\n
#### s1   http[ 0] | GET
#### s1   http[ 1] | /
#### s1   http[ 2] | HTTP/1.1
#### s1   http[ 3] | X-Varnish: 1002
#### s1   http[ 4] | X-Forwarded-For: 127.0.0.1
#### s1   http[ 5] | Host: 127.0.0.1
#### s1   txresp| HTTP/1.1 200 Ok\r\n
#### s1   txresp| Content-Length: 3\r\n
#### s1   txresp| \r\n
#### s1   txresp| foo\r\n
###  s1   shutting fd 4
##   s1   Ending
##   c1   Waiting for client
#### c1   rxhdr| HTTP/1.1 200 Ok\r\n
#### c1   rxhdr| Content-Length: 3\r\n
#### c1   rxhdr| Date: Fri, 22 Aug 2008 07:10:40 GMT\r\n
#### c1   rxhdr| X-Varnish: 1002\r\n
#### c1   rxhdr| Age: 0\r\n
#### c1   rxhdr| Via: 1.1 varnish\r\n
#### c1   rxhdr| Connection: keep-alive\r\n
#### c1   rxhdr| \r\n
#### c1   http[ 0] | HTTP/1.1
#### c1   http[ 1] | 200
#### c1   http[ 2] | Ok
#### c1   http[ 3] | Content-Length: 3
#### c1   http[ 4] | Date: Fri, 22 Aug 2008 07:10:40 GMT
#### c1   http[ 5] | X-Varnish: 1002
#### c1   http[ 6] | Age: 0
#### c1   http[ 7] | Via: 1.1 varnish
#### c1   http[ 8] | Connection: keep-alive
#### c1   body| foo
#### c1   EXPECT resp.http.X-Varnish (1002) == 1002 (1002) match
###  c1   Closing fd 9
##   c1   Ending
##   v1   Stop
#### v1   CLI TX| stop
#### v1   debug| Stopping Child\n
###  v1   CLI STATUS 200
#### v1   CLI TX| status
#### v1   debug| Child (21121) said EOF on CLI connection, exiting\n
#### v1   debug| Child (21121) ended\n
#### v1   debug| Child cleanup complete\n
#### v1   CLI RX| Child in state stopped
###  v1   CLI STATUS 200
##   v1   Wait
##   v1   R 21098 Status: 0200
#    TEST ././tests/v00011.vtc completed
PASS: ./tests/v00011.vtc
===============================================
1 of 72 tests failed
Please report to varnish-dev@projects.linpro.no
===============================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishtest'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin/varnishtest'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/deleteme/trunk/varnish-cache/bin'
make: *** [check-recursive] Error 1
