[master] f578ea1 Allow 1KB in vtc_dump so backend poll info is complete

Poul-Henning Kamp phk at FreeBSD.org
Tue Mar 10 11:41:34 CET 2015


commit f578ea1d0b2aca473040defdda8986af60de9444
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Mar 10 10:40:31 2015 +0000

    Allow 1KB in vtc_dump so backend poll info is complete

diff --git a/bin/varnishtest/vtc_log.c b/bin/varnishtest/vtc_log.c
index e90b305..57ee43c 100644
--- a/bin/varnishtest/vtc_log.c
+++ b/bin/varnishtest/vtc_log.c
@@ -187,7 +187,7 @@ vtc_dump(struct vtclog *vl, int lvl, const char *pfx, const char *str, int len)
 		if (len < 0)
 			len = strlen(str);
 		for (l = 0; l < len; l++, str++) {
-			if (l > 512 && olen != -2) {
+			if (l > 1024 && olen != -2) {
 				VSB_printf(vl->vsb, "...");
 				break;
 			}



More information about the varnish-commit mailing list