From 2b1ad862846d3197d9bf2b79c4295a44f5ffd013 Mon Sep 17 00:00:00 2001 From: Helene Durand Date: Tue, 27 Aug 2024 15:47:13 +0200 Subject: [PATCH] BUG/MINOR: add h1-accept-payload-with-any-method and h1-do-not-close-on-insecure-transfer-encoding to global --- section-parsers.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/section-parsers.go b/section-parsers.go index dd9cfd2..4c39eff 100644 --- a/section-parsers.go +++ b/section-parsers.go @@ -416,6 +416,8 @@ func (p *configParser) getGlobalParser() *Parsers { //nolint: maintidx addParser(parser, &sequence, &simple.Enabled{Name: "quiet"}) addParser(parser, &sequence, &simple.Enabled{Name: "zero-warning"}) addParser(parser, &sequence, &simple.Word{Name: "setcap"}) + addParser(parser, &sequence, &simple.Enabled{Name: "h1-accept-payload-with-any-method"}) + addParser(parser, &sequence, &simple.Enabled{Name: "h1-do-not-close-on-insecure-transfer-encoding"}) // the ConfigSnippet must be at the end to parsers load order to ensure // the overloading of any option has been declared previously addParser(parser, &sequence, &parsers.ConfigSnippet{})