]> err.no Git - varnish/commitdiff
Mark that we do limited segment size fetches for debugging
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 3 Feb 2009 12:42:39 +0000 (12:42 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 3 Feb 2009 12:42:39 +0000 (12:42 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3569 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_fetch.c

index 5cb16f6b6ba56e02366720ddc3f0052b8d37fe6f..a82fe27a24efc570c46956f4aceb8e7620a542aa 100644 (file)
@@ -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;