mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fixes to handshake and socket wrapper
This commit is contained in:
@@ -41,7 +41,7 @@ void TestPeerLogicSyncClient::on_connect ()
|
||||
return ;
|
||||
}
|
||||
|
||||
if (socket ().requires_handshake ())
|
||||
if (socket ().needs_handshake ())
|
||||
{
|
||||
if (failure (socket ().handshake (to_handshake_type (get_role ()), error ())))
|
||||
return;
|
||||
@@ -90,7 +90,7 @@ void TestPeerLogicSyncClient::on_connect ()
|
||||
}
|
||||
}
|
||||
|
||||
if (socket ().requires_handshake ())
|
||||
if (socket ().needs_handshake ())
|
||||
{
|
||||
if (failure (socket ().shutdown (error ()), true))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user