From a40f0c4d11a0aeed67b786d71bdd712bb09a8fa9 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Tue, 23 Apr 2024 20:45:42 +0100 Subject: [PATCH] Add Keep-Alive to removed headers in RemoveHopByHopHeaders --- common/protocol/http/headers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/protocol/http/headers.go b/common/protocol/http/headers.go index 59e946e9c..f15f14110 100644 --- a/common/protocol/http/headers.go +++ b/common/protocol/http/headers.go @@ -35,6 +35,7 @@ func RemoveHopByHopHeaders(header http.Header) { header.Del("Trailers") header.Del("Transfer-Encoding") header.Del("Upgrade") + header.Del("Keep-Alive") connections := header.Get("Connection") header.Del("Connection")