r481 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Jul 18 10:51:42 CEST 2006


Author: phk
Date: 2006-07-18 10:51:42 +0200 (Tue, 18 Jul 2006)
New Revision: 481

Modified:
   trunk/varnish-cache/bin/varnishd/cache_pipe.c
Log:
zero means 'all' to http_GetTail()


Modified: trunk/varnish-cache/bin/varnishd/cache_pipe.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pipe.c	2006-07-14 13:54:41 UTC (rev 480)
+++ trunk/varnish-cache/bin/varnishd/cache_pipe.c	2006-07-18 08:51:42 UTC (rev 481)
@@ -59,7 +59,7 @@
 	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);




More information about the varnish-commit mailing list