Loading src/event/kqueue.cpp +3 −3 Changes for src/event/kqueue.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -410,19 +410,19 @@ public: events = pollptr.getEventFlags(i); // Check for error/hangs (EPOLLHUP/EPOLLERR) if (events & EV_ERROR) { if (events == EV_ERROR) { // Treat as close event if any of these flags are set pollptr.CloseEventHandler(i,tid,args); continue; } // 4. Prioritize read events (new data from client) if (events & EVFILT_READ) { if (events == EVFILT_READ) { pollptr.ReadEventHandler(i, tid, args); } // 5. Handle write events (ready to send data) if (events & EVFILT_WRITE) { if (events == EVFILT_WRITE) { pollptr.WriteEventHandler(i, tid, args); } Loading Loading
src/event/kqueue.cpp +3 −3 Changes for src/event/kqueue.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -410,19 +410,19 @@ public: events = pollptr.getEventFlags(i); // Check for error/hangs (EPOLLHUP/EPOLLERR) if (events & EV_ERROR) { if (events == EV_ERROR) { // Treat as close event if any of these flags are set pollptr.CloseEventHandler(i,tid,args); continue; } // 4. Prioritize read events (new data from client) if (events & EVFILT_READ) { if (events == EVFILT_READ) { pollptr.ReadEventHandler(i, tid, args); } // 5. Handle write events (ready to send data) if (events & EVFILT_WRITE) { if (events == EVFILT_WRITE) { pollptr.WriteEventHandler(i, tid, args); } Loading