I'm not interested in EPOLLRDHUP

This commit is contained in:
andrew committed 2025-08-21 13:01:42 -04:00
1 parent 6e9d045b2b
commit 093e618b98
2 files changed
+6 -6

No files matched your search

+2 -2
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();