[master] e62c75b3c Support macro values up to 2KB

Nils Goroll nils.goroll at uplex.de
Sun Mar 26 11:09:10 UTC 2023


commit e62c75b3c30b6e209338f58f74c8b10a33a91731
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sat Mar 25 23:09:42 2023 +0100

    Support macro values up to 2KB
    
    URLs are getting longer and longer...
    
    ref: da4554344757f4b080c7be092b56963b42048522

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


More information about the varnish-commit mailing list