for some reason we weren't setting write on fds when all data had not been sent. this should make ecore_con MUCH snappier
SVN revision: 54155
This commit is contained in:
parent
57997619c9
commit
2b0ff1a99f
|
@ -2217,6 +2217,8 @@ _ecore_con_server_flush(Ecore_Con_Server *svr)
|
||||||
if (svr->fd_handler)
|
if (svr->fd_handler)
|
||||||
ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ);
|
ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ);
|
||||||
}
|
}
|
||||||
|
else if (count < num)
|
||||||
|
ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_WRITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -2283,6 +2285,8 @@ _ecore_con_client_flush(Ecore_Con_Client *cl)
|
||||||
if (cl->fd_handler)
|
if (cl->fd_handler)
|
||||||
ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_READ);
|
ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_READ);
|
||||||
}
|
}
|
||||||
|
else if (count < num)
|
||||||
|
ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_WRITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue