Commit 588bfa0b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Testcase for ESI fragmented storage parsing



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2837 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6eaba03f
# $Id$
test "ESI spanning storage bits"
server s1 {
rxreq
expect req.url == "/foo/bar"
txresp -hdr "Connection: close"
send {
This is before the test
<![CDATA[fooooooobar]]>
<esi:remove>
This is a test: Unseen University
</esi:remove>
This is a test: Hello world
}
} -start
varnish v1 -vcl+backend {
sub vcl_fetch {
esi;
}
} -start -cli "debug.fragfetch 32"
client c1 {
txreq -url /foo/bar -hdr "Host: froboz"
rxresp
expect resp.status == 200
}
client c1 -run
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment