1
0
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:
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")