mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Release PeerFinder slot on error
This commit is contained in:
committed by
Nik Bougalis
parent
bd3e4ac11c
commit
ac9816c01d
@@ -256,6 +256,7 @@ OverlayImpl::onHandoff (std::unique_ptr <beast::asio::ssl_bundle>&& ssl_bundle,
|
||||
publicKey.toPublicKey(), cluster);
|
||||
if (result != PeerFinder::Result::success)
|
||||
{
|
||||
m_peerFinder->on_closed(slot);
|
||||
if (journal.debug) journal.debug <<
|
||||
"Peer " << remote_endpoint << " redirected, slots full";
|
||||
handoff.moved = false;
|
||||
|
||||
Reference in New Issue
Block a user