From 6acc95f75608dea1f259bbe8bd63f259c7775463 Mon Sep 17 00:00:00 2001 From: Austin Cherry Date: Fri, 19 Oct 2018 16:51:54 -0500 Subject: [PATCH] TUN-1097: Host missing from WebSocket request --- websocket/websocket.go | 1 + 1 file changed, 1 insertion(+) diff --git a/websocket/websocket.go b/websocket/websocket.go index 64959121..fc009f66 100644 --- a/websocket/websocket.go +++ b/websocket/websocket.go @@ -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 }