forked from enlightenment/efl
Fixes a bug where when you try to connect to a server using an
inexistant DNS, or having a DNS resolution error, there isnt any event generated for the application to know. This is not a complete fix has you need to fix a timeout value for it to happen, but still, it makes it possible to work around it. More work is needed on this.
This commit is contained in:
parent
721ef9bc26
commit
838c3bed85
|
@ -1751,7 +1751,8 @@ _ecore_con_cb_tcp_connect(void *data,
|
|||
return;
|
||||
|
||||
error:
|
||||
if (errno || memerr) ecore_con_event_server_error(svr, memerr ?: strerror(errno));
|
||||
ecore_con_event_server_error(svr,
|
||||
memerr ?: errno? strerror(errno) : "DNS error");
|
||||
ecore_con_ssl_server_shutdown(svr);
|
||||
_ecore_con_server_kill(svr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue