netty5/handler
Trustin Lee 927e28cb20 Reduce memory usage of SslHandler when OpenSslEngine is in use
Motivation:

JDK's SSLEngine.wrap() requires the output buffer to be always as large as MAX_ENCRYPTED_PACKET_LENGTH even if the input buffer contains small number of bytes.  Our OpenSslEngine implementation does not have such wasteful behaviot.

Modifications:

If the current SSLEngine is OpenSslEngine, allocate as much as only needed.

Result:

Less peak memory usage.
2014-05-18 05:10:58 +09:00
..
src Reduce memory usage of SslHandler when OpenSslEngine is in use 2014-05-18 05:10:58 +09:00
pom.xml Add an OpenSslEngine and the universal API for enabling SSL 2014-05-18 02:54:23 +09:00