mirror of
https://github.com/monero-project/monero.git
synced 2026-01-01 07:26:15 -08: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.