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

    https://github.com/apache/trafficserver/pull/947#discussion_r78127251
  
    --- Diff: iocore/net/UnixNetVConnection.cc ---
    @@ -270,6 +270,21 @@ read_from_net(NetHandler *nh, UnixNetVConnection *vc, 
EThread *thread)
         close_UnixNetVConnection(vc, thread);
         return;
       }
    +
    +  if (vc->read.error) {
    --- End diff --
    
    @jacksontj here should be
    +  // if it is not enabled and got error from polling
    +  if (!s->enabled && s->error) {
    
    we should do read first if we get both of read enabled and error.
    
    e.g.: 
    remote do a shutdown() on socket, we will get EVENTIO_READ and 
EVENTIO_ERROR here.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to