Skip to content

Commit

Permalink
Revert PR XRPLF#4944
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronek committed Jul 2, 2024
1 parent e1421ff commit 8558c3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion src/test/peerfinder/PeerFinder_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class PeerFinder_test : public beast::unit_test::suite
{
test_backoff1();
test_backoff2();
test_duplicateOutIn();
// test_duplicateOutIn();
test_duplicateInOut();
test_config();
test_invalid_config();
Expand Down
9 changes: 0 additions & 9 deletions src/xrpld/peerfinder/detail/Logic.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,6 @@ class Logic
}
}

// Check for duplicate connection
if (slots_.find(remote_endpoint) != slots_.end())
{
JLOG(m_journal.debug())
<< beast::leftw(18) << "Logic dropping " << remote_endpoint
<< " as duplicate incoming";
return SlotImp::ptr();
}

// Create the slot
SlotImp::ptr const slot(std::make_shared<SlotImp>(
local_endpoint,
Expand Down

0 comments on commit 8558c3b

Please sign in to comment.