Disable Websocket ping timer

This commit is contained in:
Vinnie Falco
2015-06-30 10:55:20 -07:00
parent 3fcf4ae8b7
commit e2ef423624
2 changed files with 4 additions and 0 deletions

View File

@@ -74,6 +74,8 @@ template <>
void ConnectionImpl <WebSocket02>::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 ();

View File

@@ -116,6 +116,8 @@ template <>
void ConnectionImpl <WebSocket04>::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 ())