Skip to content

Commit ac152ac

Browse files
committed
derp/derphttp: properly assign websocket netconn on connect
This was causing a leak in our CI!
1 parent 059dea1 commit ac152ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

derp/derphttp/derphttp_client.go

+1-1
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)