Github user shinrich commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/766#discussion_r68942583
  
    --- Diff: iocore/net/UnixNet.cc ---
    @@ -682,8 +682,9 @@ NetHandler::_close_vc(UnixNetVConnection *vc, 
ink_hrtime now, int &handle_event,
         // create a dummy event
         Event event;
         event.ethread = this_ethread();
    -    vc->handleEvent(EVENT_IMMEDIATE, &event);
    -    ++handle_event;
    +    if (vc->handleEvent(EVENT_IMMEDIATE, &event) == EVENT_DONE) {
    +      ++handle_event;
    +    }
       }
     }
     
    --- End diff --
    
    I guess this makes a bit more sense.  As far as I can tell the handle_event 
variable is only used for a Debug statement, so the change isn't crucial one 
way or another.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to