From: phk Date: Mon, 10 Jul 2006 10:31:49 +0000 (+0000) Subject: put backend session linkage in shmemlog for pipe and pass X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fca6e591e1457e6ab9e2a307cd15ad712572513;p=varnish put backend session linkage in shmemlog for pipe and pass git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@402 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_pass.c b/varnish-cache/bin/varnishd/cache_pass.c index 09916a71..5872a16e 100644 --- a/varnish-cache/bin/varnishd/cache_pass.c +++ b/varnish-cache/bin/varnishd/cache_pass.c @@ -155,6 +155,7 @@ PassSession(struct worker *w, struct sess *sp) 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)); diff --git a/varnish-cache/bin/varnishd/cache_pipe.c b/varnish-cache/bin/varnishd/cache_pipe.c index d0b71b44..53a0d75b 100644 --- a/varnish-cache/bin/varnishd/cache_pipe.c +++ b/varnish-cache/bin/varnishd/cache_pipe.c @@ -51,6 +51,7 @@ PipeSession(struct worker *w, struct sess *sp) 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));