[master] 8ae7647 Link ESI subrequests to both their session and their parent request.
Poul-Henning Kamp
phk at varnish-cache.org
Tue Nov 20 11:54:13 CET 2012
commit 8ae7647db77d351fa0162f596a4d1817edf71687
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Nov 20 10:53:54 2012 +0000
Link ESI subrequests to both their session and their parent request.
diff --git a/bin/varnishd/cache/cache_esi_deliver.c b/bin/varnishd/cache/cache_esi_deliver.c
index 404409f..66862f4 100644
--- a/bin/varnishd/cache/cache_esi_deliver.c
+++ b/bin/varnishd/cache/cache_esi_deliver.c
@@ -60,6 +60,7 @@ ved_include(struct req *preq, const char *src, const char *host)
wrk_ws_wm = WS_Snapshot(wrk->aws); /* XXX ? */
req = SES_GetReq(wrk, preq->sp);
+ VSLb(req->vsl, SLT_Link, "req %u", preq->vsl->wid & VSL_IDENTMASK);
req->esi_level = preq->esi_level + 1;
HTTP_Copy(req->http0, preq->http0);
More information about the varnish-commit
mailing list