From 8eb05d0950d539a261251f52c108b92528e5ae36 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Wed, 11 Feb 2015 20:52:49 -0800 Subject: [PATCH] Disable Overlay socket handoffs --- src/ripple/overlay/impl/OverlayImpl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ripple/overlay/impl/OverlayImpl.cpp b/src/ripple/overlay/impl/OverlayImpl.cpp index da1fadb42..f84365e94 100644 --- a/src/ripple/overlay/impl/OverlayImpl.cpp +++ b/src/ripple/overlay/impl/OverlayImpl.cpp @@ -194,10 +194,16 @@ OverlayImpl::onHandoff (std::unique_ptr && 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;