kuri pushed a commit to branch ecore-1.7.
commit 940d63c4178f68d606f3d28fdba312ed05a2374f
Author: Guillaume Friloux <[email protected]>
Date: Fri May 24 13:53:07 2013 +0200
I missed a timer_reset for the case we did set a server timeout and no
client timeout.
Thanks again Cravix for the awesome reports.
---
src/lib/ecore_con/ecore_con.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index eefcbc4..0670e0d 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -1442,7 +1442,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);
}
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may