兼容ws链接uri后面拼接参数

This commit is contained in:
远方夕阳 2022-02-16 14:31:08 +08:00
parent fbe5e24e41
commit 91a890396d
2 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ public class CIMNioSocketAcceptor extends SimpleChannelInboundHandler<SentBody>{
ch.pipeline().addLast(new HttpServerCodec());
ch.pipeline().addLast(new ChunkedWriteHandler());
ch.pipeline().addLast(new HttpObjectAggregator(4 * 1024));
ch.pipeline().addLast(new WebSocketServerProtocolHandler(websocketPath,false));
ch.pipeline().addLast(new WebSocketServerProtocolHandler(websocketPath,true));
ch.pipeline().addLast(handshakeHandler);
ch.pipeline().addLast(new WebMessageDecoder());
ch.pipeline().addLast(new WebMessageEncoder());