[experimental-ims] e65be4b Belive it or not, I'm still not used to the guts of varnishd being exposed.

Poul-Henning Kamp phk at FreeBSD.org
Thu Dec 18 10:27:38 CET 2014


commit e65be4b12a6bbc2bd3a15b240437bf3b1dd7d96c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sun Feb 19 12:52:59 2012 +0000

    Belive it or not, I'm still not used to the guts of varnishd being exposed.

diff --git a/lib/libvmod_std/vmod_std.c b/lib/libvmod_std/vmod_std.c
index 5774cfb..4b9fd5f 100644
--- a/lib/libvmod_std/vmod_std.c
+++ b/lib/libvmod_std/vmod_std.c
@@ -192,7 +192,7 @@ vmod_collect(struct sess *sp, enum gethdr_e e, const char *h)
 	(void)h;
 	if (e == HDR_REQ)
 		http_CollectHdr(sp->req->http, h);
-	else if (e == HDR_BERESP && sp->wrk->busyobj != NULL)
-		http_CollectHdr(sp->wrk->busyobj->beresp, h);
+	else if (e == HDR_BERESP && sp->req->busyobj != NULL)
+		http_CollectHdr(sp->req->busyobj->beresp, h);
 }
 



More information about the varnish-commit mailing list