From: phk Date: Tue, 18 Jul 2006 08:51:42 +0000 (+0000) Subject: zero means 'all' to http_GetTail() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a056bb195e0bc1eb46aade2eac089575e419d8e5;p=varnish zero means 'all' to http_GetTail() git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@481 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_pipe.c b/varnish-cache/bin/varnishd/cache_pipe.c index 3bbe5103..cac539ca 100644 --- a/varnish-cache/bin/varnishd/cache_pipe.c +++ b/varnish-cache/bin/varnishd/cache_pipe.c @@ -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);