mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Disable Overlay socket handoffs
This commit is contained in:
@@ -194,10 +194,16 @@ OverlayImpl::onHandoff (std::unique_ptr <beast::asio::ssl_bundle>&& ssl_bundle,
|
|||||||
beast::Journal journal (sink);
|
beast::Journal journal (sink);
|
||||||
|
|
||||||
Handoff handoff;
|
Handoff handoff;
|
||||||
|
|
||||||
|
#if 1
|
||||||
|
// VFALCO Disable handoffs
|
||||||
|
return handoff;
|
||||||
|
#else
|
||||||
if (processRequest(request, handoff))
|
if (processRequest(request, handoff))
|
||||||
return handoff;
|
return handoff;
|
||||||
if (! isPeerUpgrade(request))
|
if (! isPeerUpgrade(request))
|
||||||
return handoff;
|
return handoff;
|
||||||
|
#endif
|
||||||
|
|
||||||
handoff.moved = true;
|
handoff.moved = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user