From e2ef423624df2049d29455fff7aabbb3d9a4c97e Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 30 Jun 2015 10:55:20 -0700 Subject: [PATCH] Disable Websocket ping timer --- src/ripple/websocket/WebSocket02.cpp | 2 ++ src/ripple/websocket/WebSocket04.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/ripple/websocket/WebSocket02.cpp b/src/ripple/websocket/WebSocket02.cpp index b194a467bd..d91f91bcad 100644 --- a/src/ripple/websocket/WebSocket02.cpp +++ b/src/ripple/websocket/WebSocket02.cpp @@ -74,6 +74,8 @@ template <> void ConnectionImpl ::setPingTimer () { auto freq = getConfig ().WEBSOCKET_PING_FREQ; + // VFALCO Disabled since it might cause hangs + freq = 0; if (freq <= 0) return; connection_ptr ptr = m_connection.lock (); diff --git a/src/ripple/websocket/WebSocket04.cpp b/src/ripple/websocket/WebSocket04.cpp index 287f5a9f5a..fa1fde5d9d 100644 --- a/src/ripple/websocket/WebSocket04.cpp +++ b/src/ripple/websocket/WebSocket04.cpp @@ -116,6 +116,8 @@ template <> void ConnectionImpl ::setPingTimer () { auto freq = getConfig ().WEBSOCKET_PING_FREQ; + // VFALCO Disabled since it might cause hangs + freq = 0; if (freq <= 0) return; if (auto con = m_connection.lock ())