for some reason we weren't setting write on fds when all data had not been sent....
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 4 Nov 2010 15:01:05 +0000 (15:01 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 4 Nov 2010 15:01:05 +0000 (15:01 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54155 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con.c

index a6b1200..ed98813 100644 (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