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

Lost on the big director shuffle:

Link client side log records to backend side log records with the "Backend"
record.

Content is:
	Fd# of backend connection
	VCL name of director
	VCL name of chosen backend.

Spotted by:	sky



git-svn-id: http://www.varnish-cache.org/svn/trunk@3212 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d366c611
......@@ -309,6 +309,8 @@ VBE_GetVbe(struct sess *sp, struct backend *bp)
/* XXX locking of stats */
VSL_stats->backend_reuse += 1;
VSL_stats->backend_conn++;
WSP(sp, SLT_Backend, "%d %s %s",
vc->fd, sp->director->vcl_name, bp->vcl_name);
return (vc);
}
sp->vbe = vc;
......@@ -336,6 +338,8 @@ VBE_GetVbe(struct sess *sp, struct backend *bp)
}
vc->backend = bp;
VSL_stats->backend_conn++;
WSP(sp, SLT_Backend, "%d %s %s",
vc->fd, sp->director->vcl_name, bp->vcl_name);
return (vc);
}
......
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