From 9283c9158089778ccb8970846a3a416d6f49510d Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 25 Nov 2010 05:08:32 +0100 Subject: [PATCH] * Don't try to process PING/PONG messages. --- src/network/controlconnection.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/network/controlconnection.cpp b/src/network/controlconnection.cpp index 9206f335c..0cd3ac193 100644 --- a/src/network/controlconnection.cpp +++ b/src/network/controlconnection.cpp @@ -182,10 +182,12 @@ ControlConnection::handleMsg( msg_ptr msg ) { qDebug() << "Received Connection PING, sending PONG."; sendMsg( Msg::factory( QByteArray(), Msg::PONG ) ); + return; } else if ( msg->is( Msg::PONG ) ) { qDebug() << "Received Connection PONG, nice."; + return; } // All control connection msgs are JSON