Commit 1031df8b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Regression testcase for #433



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3576 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ea05165b
# $Id$
test "noidx"
server s1 {
rxreq
expect req.url == "/foo"
txresp -hdr "Connection: close"
send {
<H>
FOO{
<esi:include src="/bar"/>
}FOO
<!-- blablablabablablablablablablablablabla >
blablablablab -->
The end.
}
} -start
server s2 -listen 127.0.0.1:9082 {
rxreq
expect req.url == "/bar"
txresp -body "bar"
} -start
varnish v1 -vcl+backend {
sub vcl_recv {
if (req.url == "/foo") {
set req.backend = s1;
} else {
set req.backend = s2;
}
}
sub vcl_fetch {
esi;
}
} -start
varnish v1 -cliok "param.set esi_syntax 4"
varnish v1 -cliok "param.set diag_bitmap 0x10000"
varnish v1 -cliok "debug.fragfetch 32"
client c1 {
txreq -url /foo
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