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:
Mike Blumenkrantz 2010-11-04 15:01:05 +00:00
parent 57997619c9
commit 2b0ff1a99f
1 changed files with 4 additions and 0 deletions

View File

@ -2217,6 +2217,8 @@ _ecore_con_server_flush(Ecore_Con_Server *svr)
if (svr->fd_handler)
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
@ -2283,6 +2285,8 @@ _ecore_con_client_flush(Ecore_Con_Client *cl)
if (cl->fd_handler)
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