client.go | 1 + diff --git a/client.go b/client.go index f1cb3635da4bb19bd92481f3e8647d257e6543be..036154ab092e8606725a86b806ba7a02e187eee3 100644 --- a/client.go +++ b/client.go @@ -624,6 +624,7 @@ // Returns nil connection and nil error if no connection could be established // for valid reasons. func (cl *Client) establishOutgoingConn(t *Torrent, addr string) (c *connection, err error) { + torrent.Add("establish outgoing connection", 1) ctx, cancel := context.WithTimeout(context.Background(), func() time.Duration { cl.rLock() defer cl.rUnlock()