mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] CorruptedWebSocketFrameException: Max frame length of 65536 has been exceeded
This commit is contained in:
parent
826eb4c80f
commit
de95a66742
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public void initChannel(SocketChannel ch) {
|
||||||
if (server.config.netty.ipForwarding)
|
if (server.config.netty.ipForwarding)
|
||||||
pipeline.addLast("forward-http", new NettyIpForwardHandler(context));
|
pipeline.addLast("forward-http", new NettyIpForwardHandler(context));
|
||||||
pipeline.addLast("websock-comp", new WebSocketServerCompressionHandler());
|
pipeline.addLast("websock-comp", new WebSocketServerCompressionHandler());
|
||||||
pipeline.addLast("websock-codec", new WebSocketServerProtocolHandler(WEBSOCKET_PATH, null, true));
|
pipeline.addLast("websock-codec", new WebSocketServerProtocolHandler(WEBSOCKET_PATH, null, true, server.config.netty.performance.maxWebSocketRequestBytes));
|
||||||
if (!server.config.netty.disableWebApiInterface)
|
if (!server.config.netty.disableWebApiInterface)
|
||||||
pipeline.addLast("webapi", new NettyWebAPIHandler(context));
|
pipeline.addLast("webapi", new NettyWebAPIHandler(context));
|
||||||
if (server.config.netty.fileServerEnabled)
|
if (server.config.netty.fileServerEnabled)
|
||||||
|
|
Loading…
Reference in a new issue