Commit 64bb593d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Regression test for #861

parent 499c3de9
# $Id$
test "Regression test for ESI/Gzip issues in #861"
server s1 {
rxreq
expect req.url == "/1"
txresp -body {<H1><esi:include src="/foo"/><H2><esi:include src="/bar"/><H3>}
rxreq
expect req.url == "/foo"
txresp -body <FOO>
rxreq
expect req.url == "/bar"
txresp -body <BAR>
} -start
varnish v1 \
-vcl+backend {
sub vcl_fetch {
set beresp.do_esi = true;
set beresp.do_gzip = true;
}
} -start
client c1 {
txreq -url "/1"
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