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

    https://github.com/apache/trafficserver/pull/614#discussion_r62123967
  
    --- Diff: proxy/http2/Http2SessionAccept.cc ---
    @@ -38,19 +39,25 @@ Http2SessionAccept::~Http2SessionAccept()
     void
     Http2SessionAccept::accept(NetVConnection *netvc, MIOBuffer *iobuf, 
IOBufferReader *reader)
     {
    +  sockaddr const *client_ip = netvc->get_remote_addr();
    +  const AclRecord *session_acl_record = testIpAllowPolicy(client_ip);
    +  if (!session_acl_record) {
    +    ip_port_text_buffer ipb;
    +    Warning("HTTP/2 client '%s' prohibited by ip-allow policy", 
ats_ip_ntop(client_ip, ipb, sizeof(ipb)));
    +    netvc->do_io_close();
    +    return;
    +  } 
    --- End diff --
    
    There is an extra space at the end of this line.


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