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

    https://github.com/apache/trafficserver/pull/753#discussion_r68736720
  
    --- Diff: iocore/net/UnixNetAccept.cc ---
    @@ -281,29 +280,28 @@ NetAccept::do_blocking_accept(EThread *t)
           return -1;
         }
     
    +    // con.close() called if return true.
    +    if (check_emergency_throttle(con)) {
    +      return -1;
    +    }
    +
         // Use 'NULL' to Bypass thread allocator
         vc = (UnixNetVConnection *)this->getNetProcessor()->allocate_vc(NULL);
         if (unlikely(!vc || shutdown_event_system == true)) {
    -      con.close();
    --- End diff --
    
    con.close() is called in destructor function.


---
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