[master] bc5db18 Fill vrt_ctx->sp
Poul-Henning Kamp
phk at FreeBSD.org
Fri Apr 8 00:13:04 CEST 2016
commit bc5db18c80543536bb91a4cfc6ca7231ea294672
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Apr 7 22:11:56 2016 +0000
Fill vrt_ctx->sp
diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index 26454a2..1afabb9 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -862,6 +862,7 @@ vcl_call_method(struct worker *wrk, struct req *req, struct busyobj *bo,
ctx.http_req_top = req->top->http;
ctx.http_resp = req->resp;
ctx.req = req;
+ ctx.sp = req->sp;
ctx.now = req->t_prev;
ctx.ws = req->ws;
}
@@ -873,6 +874,7 @@ vcl_call_method(struct worker *wrk, struct req *req, struct busyobj *bo,
ctx.http_bereq = bo->bereq;
ctx.http_beresp = bo->beresp;
ctx.bo = bo;
+ ctx.sp = bo->sp;
ctx.now = bo->t_prev;
ctx.ws = bo->ws;
}
More information about the varnish-commit
mailing list