[master] bf1ea70 Add H/2 binary dumps to the default vsl_mask
Dag Haavi Finstad
daghf at varnish-software.com
Mon Feb 26 13:12:22 UTC 2018
commit bf1ea70ea5471fc3a9fa83936b18ae1f85a88f97
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date: Mon Feb 26 14:08:45 2018 +0100
Add H/2 binary dumps to the default vsl_mask
In particular H2TxHdr, H2TxBody, H2RxHdr and H2RxBody will now be masked
out by default.
diff --git a/bin/varnishd/mgt/mgt_param_bits.c b/bin/varnishd/mgt/mgt_param_bits.c
index b2edd05..ad90a12 100644
--- a/bin/varnishd/mgt/mgt_param_bits.c
+++ b/bin/varnishd/mgt/mgt_param_bits.c
@@ -127,6 +127,10 @@ tweak_vsl_mask(struct vsb *vsb, const struct parspec *par, const char *arg)
(void)bit(mgt_param.vsl_mask, SLT_WorkThread, BSET);
(void)bit(mgt_param.vsl_mask, SLT_Hash, BSET);
(void)bit(mgt_param.vsl_mask, SLT_VfpAcct, BSET);
+ (void)bit(mgt_param.vsl_mask, SLT_H2TxBody, BSET);
+ (void)bit(mgt_param.vsl_mask, SLT_H2TxHdr, BSET);
+ (void)bit(mgt_param.vsl_mask, SLT_H2RxBody, BSET);
+ (void)bit(mgt_param.vsl_mask, SLT_H2RxHdr, BSET);
} else {
return (bit_tweak(vsb, mgt_param.vsl_mask,
SLT__Reserved, arg, VSL_tags,
More information about the varnish-commit
mailing list