From ed0c7d9c49604619e43edcbfa76957262694e949 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Tue, 31 Jul 2018 18:56:03 +0200 Subject: [PATCH] H2C: Remove buggy line in init to make verbose switch working --- h2c/h2c.go | 1 - 1 file changed, 1 deletion(-) diff --git a/h2c/h2c.go b/h2c/h2c.go index 70e144d2d..c5961620a 100644 --- a/h2c/h2c.go +++ b/h2c/h2c.go @@ -38,7 +38,6 @@ func init() { if strings.Contains(e, "http2debug=1") || strings.Contains(e, "http2debug=2") { http2VerboseLogs = true } - http2VerboseLogs = true } // Server implements net.Handler and enables h2c. Users who want h2c just need