I'm not interested in EPOLLRDHUP

This commit is contained in:
2025-08-21 13:01:42 -04:00
parent 6e9d045b2b
commit 093e618b98
2 changed files with 6 additions and 6 deletions

View File

@@ -670,9 +670,9 @@ int main(int argc, char *argv[]) {
// Transfer back to epoll instance. This thread or another thread
// will wake when fd is ready
if (conn->hasMessages()) {
events[i].events = EPOLLOUT | EPOLLONESHOT | EPOLLRDHUP;
events[i].events = EPOLLOUT | EPOLLONESHOT;
} else {
events[i].events = EPOLLIN | EPOLLONESHOT | EPOLLRDHUP;
events[i].events = EPOLLIN | EPOLLONESHOT;
}
conn->tsan_release();
Connection *raw_conn = conn.release();