From 47bdda5f91b6a35a16c35595d2f50e7e89f81253 Mon Sep 17 00:00:00 2001 From: Jacalz Date: Sat, 16 Nov 2024 11:24:55 +0100 Subject: [PATCH] Switch websocket library to new upstream url --- go.mod | 2 +- go.sum | 4 ++-- rendezvous/client.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index d797039..a1101c8 100644 --- a/go.mod +++ b/go.mod @@ -3,10 +3,10 @@ module github.com/rymdport/wormhole go 1.21 require ( + github.com/coder/websocket v1.8.12 github.com/gorilla/websocket v1.5.1 github.com/klauspost/compress v1.17.9 golang.org/x/crypto v0.23.0 - nhooyr.io/websocket v1.8.11 salsa.debian.org/vasudev/gospake2 v0.0.0-20210510093858-d91629950ad1 ) diff --git a/go.sum b/go.sum index 9330ad1..1d0bf83 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +github.com/coder/websocket v1.8.12 h1:5bUXkEPPIbewrnkU8LTCLVaxi4N4J8ahufH2vlo4NAo= +github.com/coder/websocket v1.8.12/go.mod h1:LNVeNrXQZfe5qhS9ALED3uA+l5pPqvwXg3CKoDBB2gs= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= @@ -8,7 +10,5 @@ golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -nhooyr.io/websocket v1.8.11 h1:f/qXNc2/3DpoSZkHt1DQu6rj4zGC8JmkkLkWss0MgN0= -nhooyr.io/websocket v1.8.11/go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c= salsa.debian.org/vasudev/gospake2 v0.0.0-20210510093858-d91629950ad1 h1:m65DhEZR/5zbgOGW4sQGDZmIwro+xBGIBQGWm43SlxM= salsa.debian.org/vasudev/gospake2 v0.0.0-20210510093858-d91629950ad1/go.mod h1:soKzqXBAtqHTODjyA0VzH2iERtpzN1w65eZUfetn2cQ= diff --git a/rendezvous/client.go b/rendezvous/client.go index cfef6ca..d91f1a2 100644 --- a/rendezvous/client.go +++ b/rendezvous/client.go @@ -9,11 +9,11 @@ import ( "sync" "sync/atomic" + "github.com/coder/websocket" + "github.com/coder/websocket/wsjson" "github.com/rymdport/wormhole/internal/crypto" "github.com/rymdport/wormhole/rendezvous/internal/msgs" "github.com/rymdport/wormhole/version" - "nhooyr.io/websocket" - "nhooyr.io/websocket/wsjson" ) // NewClient returns a Rendezvous client. URL is the websocket