I missed a timer_reset for the case we did set a server timeout and no client timeout...
authorGuillaume Friloux <guillaume.friloux@asp64.com>
Fri, 24 May 2013 11:53:07 +0000 (13:53 +0200)
committerDaniel Willmann <d.willmann@samsung.com>
Fri, 24 May 2013 14:14:09 +0000 (15:14 +0100)
src/lib/ecore_con/ecore_con.c

index d27e8dd..57f278e 100644 (file)
@@ -1437,7 +1437,10 @@ _ecore_con_cl_timer_update(Ecore_Con_Client *cl)
         if (cl->host_server->client_disconnect_time > 0)
           {
              if (cl->until_deletion)
-               ecore_timer_interval_set(cl->until_deletion, cl->host_server->client_disconnect_time);
+               {
+                  ecore_timer_interval_set(cl->until_deletion, cl->host_server->client_disconnect_time);
+                  ecore_timer_reset(cl->until_deletion);
+               }
              else
                cl->until_deletion = ecore_timer_add(cl->host_server->client_disconnect_time, (Ecore_Task_Cb)_ecore_con_client_timer, cl);
           }