Commit eb20b52e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Write the ESI includ URL into the correct workspace.

NB: This fixes bad ESI-breakage I introduced in r4351 on 2009-11-16 12:44:03

NB: This breakage has not affected the 2.x branch.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4423 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f5ae4a82
......@@ -435,13 +435,13 @@ esi_handle_include(struct esi_work *ew)
tag.e = q + 1;
u = WS_Reserve(ew->sp->wrk->ws, 0);
v = snprintf(ws->f, u - 1, "%.*s%.*s",
v = snprintf(ew->sp->wrk->ws->f, u - 1, "%.*s%.*s",
pdiff(tag.b, tag.e), tag.b,
pdiff(val.b, val.e), val.b);
v++;
xxxassert(v < u);
eb->include.b = ws->f;
eb->include.e = ws->f + v;
eb->include.b = ew->sp->wrk->ws->f;
eb->include.e = ew->sp->wrk->ws->f + v;
WS_Release(ew->sp->wrk->ws, v);
}
if (eb->include.b != NULL)
......
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