[master] 8129edf Forgot to commit the vmod_std changes.
Poul-Henning Kamp
phk at varnish-cache.org
Sun Dec 25 11:10:04 CET 2011
commit 8129edff14a76b76caf19ca5dc3cfc9ba92891ae
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Sun Dec 25 10:09:48 2011 +0000
Forgot to commit the vmod_std changes.
diff --git a/lib/libvmod_std/vmod_std.c b/lib/libvmod_std/vmod_std.c
index fc371e7..b2ab419 100644
--- a/lib/libvmod_std/vmod_std.c
+++ b/lib/libvmod_std/vmod_std.c
@@ -191,7 +191,7 @@ vmod_collect(struct sess *sp, enum gethdr_e e, const char *h)
(void)sp;
(void)h;
if (e == HDR_REQ)
- http_CollectHdr(sp->http, h);
+ http_CollectHdr(sp->req->http, h);
else if (e == HDR_BERESP && sp->wrk->busyobj != NULL)
http_CollectHdr(sp->wrk->busyobj->beresp, h);
}
More information about the varnish-commit
mailing list