#define EFL_NET_DIALER_PROTECTED 1
#define EFL_NET_SOCKET_FD_PROTECTED 1
#define EFL_NET_SOCKET_PROTECTED 1
+#define EFL_IO_READER_PROTECTED 1
#ifdef HAVE_CONFIG_H
# include <config.h>
{
freeaddrinfo(pd->resolve.names);
pd->resolve.names = NULL;
+ efl_io_reader_eos_set(o, EINA_TRUE);
if (err)
efl_event_callback_call(o, EFL_NET_DIALER_EVENT_ERROR, &err);
else
if (gai_error)
{
Eina_Error err = EFL_NET_DIALER_ERROR_COULDNT_RESOLVE_HOST;
+ efl_io_reader_eos_set(o, EINA_TRUE);
efl_event_callback_call(o, EFL_NET_DIALER_EVENT_ERROR, &err);
if (result) freeaddrinfo(result);
return;