[master] da4554344 Double the vtc maximum macro size

Nils Goroll nils.goroll at uplex.de
Sun Mar 7 13:08:07 UTC 2021


commit da4554344757f4b080c7be092b56963b42048522
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sun Mar 7 14:05:18 2021 +0100

    Double the vtc maximum macro size
    
    to support more realistic practical test cases like JWTs

diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index 017c53950..f6d696471 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -102,7 +102,7 @@ static struct macro *
 macro_def_int(const char *name, const char *fmt, va_list ap)
 {
 	struct macro *m;
-	char buf[256];
+	char buf[512];
 
 	VTAILQ_FOREACH(m, &macro_list, list)
 		if (!strcmp(name, m->name))


More information about the varnish-commit mailing list