Remove nhooyr.io/websocket from Boundary (#5992)

This commit is contained in:
Hugo authored and GitHub committed 2025-08-20 16:28:07 +01:00
1 parent b8c8753582
commit 2316fecbd6
13 files changed
+42 -46

No files matched your search

+1 -1
View File
@@ -14,6 +14,7 @@ import (
"testing"
"time"
"github.com/coder/websocket"
"github.com/hashicorp/boundary/internal/daemon/worker/proxy"
"github.com/hashicorp/boundary/internal/daemon/worker/session"
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
@@ -22,7 +23,6 @@ import (
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/types/known/anypb"
"google.golang.org/protobuf/types/known/timestamppb"
"nhooyr.io/websocket"
)
func TestHandleProxy_Errors(t *testing.T) {
+1 -1
View File
@@ -12,9 +12,9 @@ import (
"testing"
"time"
"github.com/coder/websocket"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"nhooyr.io/websocket"
)
// TestWsConn creates a websocket client and handler simulating the local websocket proxy
+1 -1
View File
@@ -7,9 +7,9 @@ import (
"context"
"testing"
"github.com/coder/websocket"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"nhooyr.io/websocket"
)
type connMsg struct {
@@ -3,7 +3,7 @@
package proxy
import "nhooyr.io/websocket"
import "github.com/coder/websocket"
const (
WebsocketStatusProtocolSetupError websocket.StatusCode = 3000