JSR-356 fixing NPE on bufferPool
This commit is contained in:
parent
f8172e5a59
commit
4d36627a63
|
@ -87,6 +87,7 @@ public class WebSocketClient extends ContainerLifeCycle
|
|||
{
|
||||
this.sslContextFactory = sslContextFactory;
|
||||
this.policy = WebSocketPolicy.newClientPolicy();
|
||||
this.bufferPool = new MappedByteBufferPool();
|
||||
this.extensionRegistry = new WebSocketExtensionFactory(policy,bufferPool);
|
||||
if(LOG.isDebugEnabled()) {
|
||||
LOG.debug("Using ZeroMasker (DEBUG)");
|
||||
|
|
Loading…
Reference in New Issue