mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
Add Keep-Alive to removed headers in RemoveHopByHopHeaders
This commit is contained in:
parent
2a22a8579d
commit
a40f0c4d11
@ -35,6 +35,7 @@ func RemoveHopByHopHeaders(header http.Header) {
|
|||||||
header.Del("Trailers")
|
header.Del("Trailers")
|
||||||
header.Del("Transfer-Encoding")
|
header.Del("Transfer-Encoding")
|
||||||
header.Del("Upgrade")
|
header.Del("Upgrade")
|
||||||
|
header.Del("Keep-Alive")
|
||||||
|
|
||||||
connections := header.Get("Connection")
|
connections := header.Get("Connection")
|
||||||
header.Del("Connection")
|
header.Del("Connection")
|
||||||
|
Loading…
Reference in New Issue
Block a user