chore: Add issue for epoll error handling

main
Sean McBride 4 years ago
parent de4d7853d9
commit 87fd40957b

@ -244,7 +244,7 @@ worker_thread_execute_epoll_loop(void)
if (sandbox->state == SANDBOX_BLOCKED) worker_thread_wakeup_sandbox(sandbox); if (sandbox->state == SANDBOX_BLOCKED) worker_thread_wakeup_sandbox(sandbox);
} else if (epoll_events[i].events & (EPOLLERR | EPOLLHUP)) { } else if (epoll_events[i].events & (EPOLLERR | EPOLLHUP)) {
/* Mystery: This seems to never fire. Why? */ /* Mystery: This seems to never fire. Why? Issue #130 */
/* Close socket and set as error on socket error or unexpected client hangup */ /* Close socket and set as error on socket error or unexpected client hangup */
struct sandbox *sandbox = (struct sandbox *)epoll_events[i].data.ptr; struct sandbox *sandbox = (struct sandbox *)epoll_events[i].data.ptr;

Loading…
Cancel
Save