diff --git a/Gopkg.lock b/Gopkg.lock index 40570cb2d..091ca4d35 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -1028,7 +1028,7 @@ "roundrobin", "utils" ] - revision = "7e69a72707cbd367525e3c626be40c4a39454bb2" + revision = "af377749f48ff0ae9974b30ce12a816738b94558" source = "https://github.com/containous/oxy.git" [[projects]] diff --git a/vendor/github.com/vulcand/oxy/forward/fwd.go b/vendor/github.com/vulcand/oxy/forward/fwd.go index 049034aad..06d7f432f 100644 --- a/vendor/github.com/vulcand/oxy/forward/fwd.go +++ b/vendor/github.com/vulcand/oxy/forward/fwd.go @@ -334,8 +334,8 @@ func (f *httpForwarder) serveWebSocket(w http.ResponseWriter, req *http.Request, defer underlyingConn.Close() defer targetConn.Close() - errClient := make(chan error) - errBackend := make(chan error) + errClient := make(chan error, 1) + errBackend := make(chan error, 1) replicateWebsocketConn := func(dst, src *websocket.Conn, errc chan error) { for { msgType, msg, err := src.ReadMessage()