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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy