From 3fca6e591e1457e6ab9e2a307cd15ad712572513 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 10 Jul 2006 10:31:49 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_pass.c | 1 + varnish-cache/bin/varnishd/cache_pipe.c | 1 + 2 files changed, 2 insertions(+) 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)); -- 2.39.5