mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Revert "Disable Overlay socket handoffs"
This reverts commit 8eb05d0950.
This commit is contained in:
@@ -194,16 +194,10 @@ OverlayImpl::onHandoff (std::unique_ptr <beast::asio::ssl_bundle>&& ssl_bundle,
|
||||
beast::Journal journal (sink);
|
||||
|
||||
Handoff handoff;
|
||||
|
||||
#if 1
|
||||
// VFALCO Disable handoffs
|
||||
return handoff;
|
||||
#else
|
||||
if (processRequest(request, handoff))
|
||||
return handoff;
|
||||
if (! isPeerUpgrade(request))
|
||||
return handoff;
|
||||
#endif
|
||||
|
||||
handoff.moved = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user