TUN-1097: Host missing from WebSocket request

This commit is contained in:
Austin Cherry 2018-10-19 16:51:54 -05:00
parent 72412db4c2
commit 6acc95f756
1 changed files with 1 additions and 0 deletions

View File

@ -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
}