Skip to content

Commit 1e5e724

Browse files
authored
derp/derphttp: properly assign websocket netconn on connect (#10)
This was causing a leak in our CI!
1 parent 059dea1 commit 1e5e724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

derp/derphttp/derphttp_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ func (c *Client) connect(ctx context.Context, caller string) (client *derp.Clien
348348
}
349349
c.serverPubKey = derpClient.ServerPublicKey()
350350
c.client = derpClient
351-
c.netConn = tcpConn
351+
c.netConn = conn
352352
c.connGen++
353353
return c.client, c.connGen, nil
354354
case c.url != nil:

0 commit comments

Comments
 (0)