Skip to content

Commit

Permalink
Add Keep-Alive to removed headers in RemoveHopByHopHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Apr 28, 2024
1 parent 2a22a85 commit a40f0c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/protocol/http/headers.go
Expand Up @@ -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")
Expand Down

0 comments on commit a40f0c4

Please sign in to comment.