mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 02:25:52 +00:00
Don't throw away an initial error when detecting the handshake.
This commit is contained in:
@@ -889,7 +889,7 @@ protected:
|
||||
{
|
||||
error_code ec (ec_);
|
||||
|
||||
do
|
||||
while (!ec)
|
||||
{
|
||||
if (m_owner.m_state == stateReady)
|
||||
{
|
||||
@@ -973,7 +973,6 @@ protected:
|
||||
ec = m_owner.handshake_error ();
|
||||
}
|
||||
}
|
||||
while (! ec);
|
||||
|
||||
bassert (ec || (m_owner.m_state == stateReady && m_owner.m_needsShutdown));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user