Commit 93a75239 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add testcase for #612.

Fixes: #612



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4424 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent eb20b52e
# $Id$
test "Url workspace gets overwritten/reused"
server s1 {
rxreq
expect req.url == "/"
txresp -body {
<esi:include src="1"/>
<esi:include src="2"/>
<esi:include src="3"/>
<esi:include src="4"/>
<esi:include src="5"/>
}
rxreq
expect req.url == "/1"
txresp -body "11111"
rxreq
expect req.url == "/2"
txresp -body "22222"
rxreq
expect req.url == "/3"
txresp -body "33333"
rxreq
expect req.url == "/4"
txresp -body "44444"
rxreq
expect req.url == "/5"
txresp -body "55555"
} -start
varnish v1 -vcl+backend {
sub vcl_recv {
return (pass);
}
sub vcl_fetch {
esi;
}
} -start
client c1 {
txreq
rxresp
} -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