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

    https://github.com/apache/trafficserver/pull/1131#discussion_r85536202
  
    --- Diff: iocore/net/SSLProfileSM.cc ---
    @@ -206,20 +275,11 @@ ssl_read_from_net(SSLNetVConnection *sslvc, EThread 
*lthread, int64_t &ret)
           }
         }
     
    -    Debug("ssl", "[SSL_NetVConnection::ssl_read_from_net] 
b->write_avail()=%" PRId64, block_write_avail);
    +    Debug("ssl", "[SSLProfileSM::read_from_net] b->write_avail()=%" 
PRId64, block_write_avail);
         char *current_block = buf.writer()->end();
    -    sslErr              = SSLReadBuffer(sslvc->ssl, current_block, 
block_write_avail, nread);
    +    nread               = this->read(current_block, block_write_avail, 
sslErr);
     
    -    Debug("ssl", "[SSL_NetVConnection::ssl_read_from_net] nread=%d", 
(int)nread);
    -    if (!sslvc->origin_trace) {
    -      TraceIn((0 < nread && trace), sslvc->get_remote_addr(), 
sslvc->get_remote_port(), "WIRE TRACE\tbytes=%d\n%.*s", (int)nread,
    -              (int)nread, current_block);
    -    } else {
    -      char origin_trace_ip[INET6_ADDRSTRLEN];
    -      ats_ip_ntop(sslvc->origin_trace_addr, origin_trace_ip, 
sizeof(origin_trace_ip));
    -      TraceIn((0 < nread && trace), sslvc->get_remote_addr(), 
sslvc->get_remote_port(), "CLIENT %s:%d\ttbytes=%d\n%.*s",
    -              origin_trace_ip, sslvc->origin_trace_port, (int)nread, 
(int)nread, current_block);
    -    }
    +    Debug("ssl", "[SSLNetProfileSM::read_from_net] nread=%d", (int)nread);
    --- End diff --
    
    Where did the trace logic go?


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