From a0fd910713d6a84d47b539b7df64ead4fd6790d4 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Fri, 19 Apr 2024 21:03:49 +0800 Subject: [PATCH] chore: cleanup --- internal/netpoll/poller_epoll_ultimate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/netpoll/poller_epoll_ultimate.go b/internal/netpoll/poller_epoll_ultimate.go index b89bd9ac0..479415366 100644 --- a/internal/netpoll/poller_epoll_ultimate.go +++ b/internal/netpoll/poller_epoll_ultimate.go @@ -199,7 +199,7 @@ func (p *Poller) Polling() error { const ( readEvents = unix.EPOLLIN | unix.EPOLLPRI | unix.EPOLLRDHUP - writeEvents = unix.EPOLLOUT + writeEvents = unix.EPOLLOUT | unix.EPOLLRDHUP readWriteEvents = readEvents | writeEvents )