SolidWallOfCode commented on a change in pull request #7809:
URL: https://github.com/apache/trafficserver/pull/7809#discussion_r631049858



##########
File path: iocore/net/UnixNet.cc
##########
@@ -507,27 +507,24 @@ NetHandler::waitForActivity(ink_hrtime timeout)
       if (cop_list.in(ne)) {
         cop_list.remove(ne);
       }
-      if (get_ev_events(pd, x) & (EVENTIO_READ | EVENTIO_ERROR)) {
+      int flags = get_ev_events(pd, x);

Review comment:
       Is it possible to get only error bits and not read or write ready bits? 
It's reasonable to presume there's no `epoll` result unless checking for one of 
those conditions, so it's possible the checked for condition is always present.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to