Commit 63d1b9c5 authored by octal's avatar octal

Listener now uses level triggering mode instead of edge triggering for the listen fd

parent 4d62572b
...@@ -182,7 +182,7 @@ Listener::bind(const Address& address) { ...@@ -182,7 +182,7 @@ Listener::bind(const Address& address) {
} }
make_non_blocking(fd); make_non_blocking(fd);
poller.addFd(fd, Polling::NotifyOn::Read, Polling::Tag(fd), Polling::Mode::Edge); poller.addFd(fd, Polling::NotifyOn::Read, Polling::Tag(fd));
listen_fd = fd; listen_fd = fd;
g_listen_fd = fd; g_listen_fd = fd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment