[3.0] d244202 Allow larger bodies in varnishtest

Tollef Fog Heen tfheen at varnish-cache.org
Wed Aug 24 09:24:04 CEST 2011


commit d244202bb7287f0bb276927ac998a5595a568f9a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 22 10:35:56 2011 +0000

    Allow larger bodies in varnishtest

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 366a5dd..758113b 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -1143,7 +1143,7 @@ http_process(struct vtclog *vl, const char *spec, int sock, int sfd)
 	AN(hp);
 	hp->fd = sock;
 	hp->timeout = 5000;
-	hp->nrxbuf = 640*1024;
+	hp->nrxbuf = 2048*1024;
 	hp->vsb = VSB_new_auto();
 	hp->rxbuf = malloc(hp->nrxbuf);		/* XXX */
 	hp->sfd = sfd;



More information about the varnish-commit mailing list