mirror of
https://github.com/monero-project/monero.git
synced 2025-03-06 15:45:51 -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.