[#921] Fix NPE which can be thrown on bad-timing when using WebSocketClientHandshaker07
This commit is contained in:
parent
5bd8b41a58
commit
ec5ad7b22c
@ -223,7 +223,6 @@ public class WebSocketClientHandshaker07 extends WebSocketClientHandshaker {
|
||||
setHandshakeComplete();
|
||||
|
||||
ChannelPipeline p = channel.pipeline();
|
||||
p.remove(HttpRequestEncoder.class);
|
||||
p.get(HttpResponseDecoder.class).replace(
|
||||
"ws-decoder",
|
||||
new WebSocket07FrameDecoder(false, allowExtensions, getMaxFramePayloadLength()));
|
||||
|
Loading…
Reference in New Issue
Block a user