mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
derp/derphttp: cleanup WebSocket connection on close
This was causing a leak in our CI! Signed-off-by: Kyle Carberry <kyle@carberry.com>
This commit is contained in:
parent
be107f92d3
commit
3862a1e1d5
@ -321,7 +321,7 @@ func (c *Client) connect(ctx context.Context, caller string) (client *derp.Clien
|
||||
}
|
||||
c.serverPubKey = derpClient.ServerPublicKey()
|
||||
c.client = derpClient
|
||||
c.netConn = tcpConn
|
||||
c.netConn = conn
|
||||
c.connGen++
|
||||
return c.client, c.connGen, nil
|
||||
case c.url != nil:
|
||||
|
Loading…
Reference in New Issue
Block a user