yahoo / imapnio

Java imap nio client that is designed to scale well for thousands of connections per machine and reduce contention when using large number of threads and cpus.
57 stars 50 forks source link

Support request total bytes and response total bytes counting #122

Closed fansu closed 2 years ago

fansu commented 2 years ago

Description

Support request total bytes and response total bytes counting

Motivation and Context

Support request total bytes and response total bytes counting

How Has This Been Tested?

Change has been tested by static main function and verified with IMAP access log for bytes sent and received.

Screenshots (if appropriate):

Types of changes

Checklist:

fansu commented 2 years ago

I need to figure out commenting on individual files. UTF-8 encoding is incorrect. Switch to US_ASCII. I also need to check why you added an exception and how that affects the call flow.

Sure, let me switch to US_ASCII everywhere.

fansu commented 2 years ago

I need to figure out commenting on individual files. UTF-8 encoding is incorrect. Switch to US_ASCII. I also need to check why you added an exception and how that affects the call flow.

I also removed new exception added as well