1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-16 20:55:22 +00:00

Add Keep-Alive to removed headers in RemoveHopByHopHeaders

This commit is contained in:
Shelikhoo 2024-04-23 20:45:42 +01:00 committed by Xiaokang Wang (Shelikhoo)
parent 2a22a8579d
commit a40f0c4d11

View File

@ -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")