Issue #2135 - TLS on Android 8.1 workaround configuration for Direct ByteBuffer use

+ Assigning WebSocket Client to use true for direct bytebuffers always.
+ Changes from review with @sbordet

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2018-06-06 11:00:03 -05:00
parent 2d5ef67d3f
commit c4ea4a2d96
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class WebSocketClientSelectorManager extends SelectorManager
if (sslContextFactory != null)
{
SSLEngine engine = newSSLEngine(sslContextFactory,channel);
SslConnection sslConnection = new SslConnection(bufferPool,getExecutor(),endPoint,engine);
SslConnection sslConnection = new SslConnection(bufferPool,getExecutor(),endPoint,engine,true,true);
sslConnection.setRenegotiationAllowed(sslContextFactory.isRenegotiationAllowed());
EndPoint sslEndPoint = sslConnection.getDecryptedEndPoint();