Enlightenment CVS committal
Author : englebass
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_con
Modified Files:
ecore_con.c
Log Message:
formatting
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -3 -r1.91 -r1.92
--- ecore_con.c 26 Jan 2008 05:40:52 -0000 1.91
+++ ecore_con.c 18 Feb 2008 06:26:20 -0000 1.92
@@ -620,7 +620,7 @@
* @return The list of clients on this server.
* @ingroup Ecore_Con_Server_Group
*/
-EAPI Ecore_List*
+EAPI Ecore_List *
ecore_con_server_clients_get(Ecore_Con_Server *svr)
{
if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_CON_SERVER))
@@ -1333,6 +1333,8 @@
lost_server = (ssl_err == SSL_ERROR_ZERO_RETURN);
if (ssl_err == SSL_ERROR_SYSCALL)
{
+ perror("SSL read");
+ printf("SSL_ERROR_SYSCALL: num = %d, errno = %d\n",
num, errno);
if (num == 0) lost_server = 1;
else
{
@@ -1522,6 +1524,21 @@
{
ssl_err = SSL_get_error(svr->ssl, count);
lost_server = (ssl_err == SSL_ERROR_ZERO_RETURN);
+ if (ssl_err == SSL_ERROR_SYSCALL)
+ {
+ perror("SSL write");
+ printf("SSL_ERROR_SYSCALL: num = %d, errno = %d\n", num,
errno);
+ if (num == 0) lost_server = 1;
+ else
+ {
+ lost_server = ((errno == EIO) ||
+ (errno == EBADF) ||
+ (errno == EPIPE) ||
+ (errno == EINVAL) ||
+ (errno == ENOSPC) ||
+ (errno == ECONNRESET));
+ }
+ }
}
}
#endif
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs