Merge pull request #463 from veebs/AutoBahnFrameSize

Increase websocket framesize for autobahn tests
This commit is contained in:
Trustin Lee 2012-07-24 04:12:46 -07:00
commit d43d95cc0d

View File

@ -67,7 +67,7 @@ public class AutobahnServerHandler extends ChannelInboundMessageHandlerAdapter<O
// Handshake // Handshake
WebSocketServerHandshakerFactory wsFactory = new WebSocketServerHandshakerFactory( WebSocketServerHandshakerFactory wsFactory = new WebSocketServerHandshakerFactory(
getWebSocketLocation(req), null, false); getWebSocketLocation(req), null, false, Integer.MAX_VALUE);
handshaker = wsFactory.newHandshaker(req); handshaker = wsFactory.newHandshaker(req);
if (handshaker == null) { if (handshaker == null) {
wsFactory.sendUnsupportedWebSocketVersionResponse(ctx.channel()); wsFactory.sendUnsupportedWebSocketVersionResponse(ctx.channel());