fix some random error cases where events would fire too fast and cause a segv
SVN revision: 53952
This commit is contained in:
parent
9fe4dfe9b3
commit
9daab48ec2
|
@ -1822,6 +1822,7 @@ _ecore_con_cl_handler(void *data, Ecore_Fd_Handler *fd_handler)
|
||||||
if (ecore_con_ssl_server_init(svr))
|
if (ecore_con_ssl_server_init(svr))
|
||||||
{
|
{
|
||||||
ERR("ssl handshaking failed!");
|
ERR("ssl handshaking failed!");
|
||||||
|
svr->handshaking = EINA_FALSE;
|
||||||
Ecore_Con_Event_Server_Del *e;
|
Ecore_Con_Event_Server_Del *e;
|
||||||
|
|
||||||
e = calloc(1, sizeof(Ecore_Con_Event_Server_Del));
|
e = calloc(1, sizeof(Ecore_Con_Event_Server_Del));
|
||||||
|
@ -2167,6 +2168,7 @@ _ecore_con_svr_cl_handler(void *data, Ecore_Fd_Handler *fd_handler)
|
||||||
if (ecore_con_ssl_client_init(cl))
|
if (ecore_con_ssl_client_init(cl))
|
||||||
{
|
{
|
||||||
ERR("ssl handshaking failed!");
|
ERR("ssl handshaking failed!");
|
||||||
|
cl->handshaking = EINA_FALSE;
|
||||||
/* we lost our client! */
|
/* we lost our client! */
|
||||||
Ecore_Con_Event_Client_Del *e;
|
Ecore_Con_Event_Client_Del *e;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue