[master] 90ff618 Increase the default http RX timeout for server/client to 5 seconds.

Poul-Henning Kamp phk at varnish-cache.org
Thu Feb 17 22:25:22 CET 2011


commit 90ff618f2f1e163eea58a5d0a7dbf78d6f676f5e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Feb 17 21:24:39 2011 +0000

    Increase the default http RX timeout for server/client to 5 seconds.

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 7b9eb96..5f8cd1b 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -1065,7 +1065,7 @@ http_process(struct vtclog *vl, const char *spec, int sock, int sfd)
 	ALLOC_OBJ(hp, HTTP_MAGIC);
 	AN(hp);
 	hp->fd = sock;
-	hp->timeout = 3000;
+	hp->timeout = 5000;
 	hp->nrxbuf = 640*1024;
 	hp->vsb = vsb_newauto();
 	hp->rxbuf = malloc(hp->nrxbuf);		/* XXX */



More information about the varnish-commit mailing list