TUN-1097: Host missing from WebSocket request
This commit is contained in:
parent
72412db4c2
commit
6acc95f756
|
@ -167,6 +167,7 @@ func websocketHeaders(req *http.Request) http.Header {
|
|||
for _, header := range stripWebsocketHeaders {
|
||||
wsHeaders.Del(header)
|
||||
}
|
||||
wsHeaders.Set("Host", req.Host) // See TUN-1097
|
||||
return wsHeaders
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue