Skip to content

Commit be47cc5

Browse files
authored
fix(enterprise/coderd): use websocketNetConn in workspaceProxyCoordinate to bind context (#9395)
1 parent 487bdc2 commit be47cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/coderd/workspaceproxycoordinate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (api *API) workspaceProxyCoordinate(rw http.ResponseWriter, r *http.Request
6868

6969
id := uuid.New()
7070
sub := (*api.AGPL.TailnetCoordinator.Load()).ServeMultiAgent(id)
71-
nc := websocket.NetConn(ctx, conn, websocket.MessageText)
71+
ctx, nc := websocketNetConn(ctx, conn, websocket.MessageText)
7272
defer nc.Close()
7373

7474
err = tailnet.ServeWorkspaceProxy(ctx, nc, sub)

0 commit comments

Comments
 (0)