mirror of
https://github.com/monero-project/monero.git
synced 2025-02-21 22:59:47 -05:00

a connection's timeout is halved for every extra connection from the same host. Also keep track of when we don't need to use a connection anymore, so we can close it and free the resource for another connection. Also use the longer timeout for non routable local addresses.