]> err.no Git - varnish/commitdiff
zero means 'all' to http_GetTail()
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 18 Jul 2006 08:51:42 +0000 (08:51 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 18 Jul 2006 08:51:42 +0000 (08:51 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@481 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_pipe.c

index 3bbe51038cb8dd9afc8321f6d51f182c3d2e0784..cac539ca42b3e5f3689e9481c883d787afc3eb90 100644 (file)
@@ -59,7 +59,7 @@ PipeSession(struct worker *w, struct sess *sp)
        http_BuildSbuf(vc->fd, Build_Pipe, w->sb, sp->http);
        i = write(vc->fd, sbuf_data(w->sb), sbuf_len(w->sb));
        assert(i == sbuf_len(w->sb));
-       if (http_GetTail(sp->http, 99999999, &b, &e) && b != e) { /* XXX */
+       if (http_GetTail(sp->http, 0, &b, &e) && b != e) { /* XXX */
                i = write(vc->fd, b, e - b);
                if (i != e - b) {
                        close (vc->fd);