Disable Overlay socket handoffs

This commit is contained in:
Vinnie Falco
2015-02-11 20:52:49 -08:00
parent 0f94e2c0c3
commit 8eb05d0950

View File

@@ -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;