netty5/handler/src
Tim Brooks ec8d43c294 Do not mandate direct bytes in SslHandler queue (#9656)
Motivation:

Currently when the SslHandler coalesces outbound bytes it always
allocates a direct byte buffer. This does not make sense if the JDK
engine is being used as the bytes will have to be copied back to heap
bytes for the engine to operate on them.

Modifications:

Inspect engine type when coalescing outbound bytes and allocate heap
buffer if heap bytes are preferred by the engine.

Result:

Improved performance for JDK engine. Better performance in environments
without direct buffer pooling.
2019-10-12 20:12:12 +02:00
..
main Do not mandate direct bytes in SslHandler queue (#9656) 2019-10-12 20:12:12 +02:00
test Fix SSL tests that use SslProvider.OPENSSL_REFCNT (#9649) 2019-10-10 10:40:45 +04:00