Merge pull request #332 from gwsystems/validate-socket-err-handler

doc: Remove TODO comment
master
Sean McBride 3 years ago committed by GitHub
commit 087b984e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save