[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-2/konversation/konversation
From:       İsmail Dönmez <ismail () kde ! org ! tr>
Date:       2005-04-08 12:19:18
Message-ID: 20050408121918.6137B492 () office ! kde ! org
[Download RAW message or body]

CVS commit by cartman: 

Here is a possible fix to "Konversation infinitely connects/disconnects
bug". Here is what happens :

Server::connectionEstablished() is called it calls startNotifyTimer(1000)
which in turn which timeouts ( in problematic cases ) in 1 second and calls
Server::notifyTimeout() which itself calls startNotifyCheckTimer() and when
its time outted in 0.5 seconds it closed the socket in Server::notifyCheckTimeout()
. I changed initial call to startNotifyTimer(0) to make it timeout in 180
seconds instead of 1. Lets see if this helps.


  M +1 -1      server.cpp   1.464


--- kdeextragear-2/konversation/konversation/server.cpp  #1.463:1.464
@@ -680,5 +680,5 @@ void Server::connectionEstablished(const
       m_serverISON = new ServerISON(this);
       // get first notify very early
-      startNotifyTimer(1000);
+      startNotifyTimer(0);
       // Register with services
       registerWithServices();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic