netty5/handler
Scott Mitchell f20063d26b SslHandler#wrapNonAppData return early
Motivation:

SslHandler#wrapNonAppData may be able to return early if it is called from a unwrap method and the status is NEED_UNWRAP. This has been observed to occur while using the OpenSslEngine and can avoid allocation of an extra ByteBuf of size 2048.

Modifications:
- Return early from SslHandler#wrapNonAppData if NEED_UNWRAP and we are called from an unwrap method

Result:
Less buffer allocations and early return from SslHandler#wrapNonAppData.
2017-05-17 13:53:42 -07:00
..
src SslHandler#wrapNonAppData return early 2017-05-17 13:53:42 -07:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-05-11 16:00:55 +02:00