[Konversation-devel] [Bug 241858] Too many PING sent when using an irc proxy

Eike Hein hein at kde.org
Wed Jun 16 12:36:16 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=241858


Eike Hein <hein at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hein at kde.org




--- Comment #1 from Eike Hein <hein kde org>  2010-06-16 12:36:16 ---
I think it would make more sense to turn the singleShot in pongReceived() (and
connectionEstablished()) into a QTimer class member and respond to PONG with
PING only if QTimer::isActive() doesn't return true. This should address your
problem by preventing a PING from being sent more than once per 60 seconds and
is a bit cleaner since it doesn't need that bool for state tracking. Interested
in whipping that up?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list