diff --git a/transport/internet/websocket/connection.go b/transport/internet/websocket/connection.go index 6f55a8c16..8ffce7d33 100644 --- a/transport/internet/websocket/connection.go +++ b/transport/internet/websocket/connection.go @@ -5,7 +5,7 @@ import ( "net" "time" - "websocket" + "github.com/gorilla/websocket" "v2ray.com/core/common/buf" "v2ray.com/core/common/errors" diff --git a/transport/internet/websocket/dialer.go b/transport/internet/websocket/dialer.go index 873e9bd05..63927d9ab 100644 --- a/transport/internet/websocket/dialer.go +++ b/transport/internet/websocket/dialer.go @@ -4,7 +4,7 @@ import ( "context" "time" - "websocket" + "github.com/gorilla/websocket" "v2ray.com/core/common" "v2ray.com/core/common/net" diff --git a/transport/internet/websocket/hub.go b/transport/internet/websocket/hub.go index 57c714467..e8cb93934 100644 --- a/transport/internet/websocket/hub.go +++ b/transport/internet/websocket/hub.go @@ -7,7 +7,8 @@ import ( "strconv" "sync" "time" - "websocket" + + "github.com/gorilla/websocket" "v2ray.com/core/common" "v2ray.com/core/common/net"