When hang up happened on the file descriptor, there are no solution to
prevent infinite loop for handling the file descriptor.
To resolve thie problem, EPOLLHUP handling process is added.
@fix
Change-Id: Ibce80c1adfd6a2744347130e0942199aff9396dc
# define EPOLLPRI 2
# define EPOLLOUT 4
# define EPOLLERR 8
+# define EPOLLHUP 16
#define EPOLL_CTL_ADD 1
#define EPOLL_CTL_DEL 2
fdh->write_active = EINA_TRUE;
if (ev[i].events & EPOLLERR)
fdh->error_active = EINA_TRUE;
+ if (ev[i].events & EPOLLHUP)
+ fdh->error_active = EINA_TRUE;
_ecore_try_add_to_call_list(fdh);
}