From 1b51010c43bc0017f4a9b7294c209581a2e47c75 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 3 Feb 2009 12:42:39 +0000 Subject: [PATCH] Mark that we do limited segment size fetches for debugging git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3569 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_fetch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/varnish-cache/bin/varnishd/cache_fetch.c b/varnish-cache/bin/varnishd/cache_fetch.c index 5cb16f6b..a82fe27a 100644 --- a/varnish-cache/bin/varnishd/cache_fetch.c +++ b/varnish-cache/bin/varnishd/cache_fetch.c @@ -221,6 +221,9 @@ fetch_eof(struct sess *sp, struct http_conn *htc) struct storage *st; unsigned v; + if (fetchfrag > 0) + WSL(sp->wrk, SLT_Debug, sp->fd, + "Fetch %d byte segments:", fetchfrag); p = NULL; v = 0; st = NULL; -- 2.39.5