[master] 67dd8c79a Do not use magic values in VSL.VXID field

Poul-Henning Kamp phk at FreeBSD.org
Mon Oct 10 09:40:07 UTC 2022


commit 67dd8c79a6b899fa2219cfe129694074181a259f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Oct 10 08:44:40 2022 +0000

    Do not use magic values in VSL.VXID field

diff --git a/bin/varnishd/proxy/cache_proxy_proto.c b/bin/varnishd/proxy/cache_proxy_proto.c
index db008a230..036a314e7 100644
--- a/bin/varnishd/proxy/cache_proxy_proto.c
+++ b/bin/varnishd/proxy/cache_proxy_proto.c
@@ -765,7 +765,7 @@ VPX_Send_Proxy(int fd, int version, const struct sess *sp)
 	VSB_quote(vsb2, VSB_data(vsb), VSB_len(vsb),
 	    version == 2 ? VSB_QUOTE_HEX : 0);
 	AZ(VSB_finish(vsb2));
-	VSL(SLT_Debug, 999, "PROXY_HDR %s", VSB_data(vsb2));
+	VSL(SLT_Debug, 0, "PROXY_HDR %s", VSB_data(vsb2));
 	VSB_destroy(&vsb2);
 	VSB_fini(vsb);
 	return (r);


More information about the varnish-commit mailing list