r402 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Jul 10 12:31:49 CEST 2006


Author: phk
Date: 2006-07-10 12:31:49 +0200 (Mon, 10 Jul 2006)
New Revision: 402

Modified:
   trunk/varnish-cache/bin/varnishd/cache_pass.c
   trunk/varnish-cache/bin/varnishd/cache_pipe.c
Log:
put backend session linkage in shmemlog for pipe and pass


Modified: trunk/varnish-cache/bin/varnishd/cache_pass.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pass.c	2006-07-10 10:06:21 UTC (rev 401)
+++ trunk/varnish-cache/bin/varnishd/cache_pass.c	2006-07-10 10:31:49 UTC (rev 402)
@@ -155,6 +155,7 @@
 
 	vc = VBE_GetFd(sp->backend, sp->xid);
 	assert(vc != NULL);
+	VSL(SLT_Backend, sp->fd, "%d %s", vc->fd, sp->backend->vcl_name);
 
 	http_BuildSbuf(vc->fd, Build_Pass, w->sb, sp->http);
 	i = write(vc->fd, sbuf_data(w->sb), sbuf_len(w->sb));

Modified: trunk/varnish-cache/bin/varnishd/cache_pipe.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pipe.c	2006-07-10 10:06:21 UTC (rev 401)
+++ trunk/varnish-cache/bin/varnishd/cache_pipe.c	2006-07-10 10:31:49 UTC (rev 402)
@@ -51,6 +51,7 @@
 
 	vc = VBE_GetFd(sp->backend, sp->xid);
 	assert(vc != NULL);
+	VSL(SLT_Backend, sp->fd, "%d %s", vc->fd, sp->backend->vcl_name);
 
 	http_BuildSbuf(vc->fd, Build_Pipe, w->sb, sp->http);
 	i = write(vc->fd, sbuf_data(w->sb), sbuf_len(w->sb));




More information about the varnish-commit mailing list