moonchen opened a new pull request, #13275:
URL: https://github.com/apache/trafficserver/pull/13275

   For TLS connections proxy.process.net.read_bytes was incremented in
   read_raw_data with the raw socket read length -- handshake and record-layer
   ciphertext -- while net.write_bytes records plaintext application bytes.  The
   two counters were therefore asymmetric, and read_bytes did not track a clean
   workload signal because it folded ciphertext framing overhead into the count.
   
   Move the read_bytes / read_bytes_count increment into _ssl_read_from_net,
   where it counts the decrypted application bytes handed up from SSL_read,
   matching write_bytes.  read_raw_data still records the socket read through
   calls_to_read.  Also count each application-data read attempt with
   calls_to_read so reads and writes are accounted symmetrically.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to