netty5/handler
Norman Maurer 7150b42a56 Refactor SslHandler internals to always use heap buffers for JDK SSLE… (#9696)
Motivation:

We should aim to always use heap buffers when using the JDK SSLEngine for now as it wants to operate on byte[] and so will do internal memory copies if a non heap buffer is used. Beside this it will always return BUFFER_OVERFLOW when a smaller buffer then 16kb is used when calling wrap(...) (even if a very small amount of bytes should be encrypted). This can lead to excercive direct memory usage and pressure for no good reason.

Modifications:

Refactor internals of SslHandler to ensure we use heap buffers for the JDK SSLEngine impelementation

Result:

Less direct memory usage when JDK SSLEngine implementation is used
2019-10-23 14:29:01 +02:00
..
src Refactor SslHandler internals to always use heap buffers for JDK SSLE… (#9696) 2019-10-23 14:29:01 +02:00
pom.xml Add tests for using Amazon Corretto Crypto Provider with Netty (#9480) 2019-08-20 14:56:03 +02:00