From abcadef0f6465743e85aa011f39367fddbe7d8e5 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 6 Mar 2015 20:44:26 +1300 Subject: Increase Wialon size limit (fix #1112) --- src/org/traccar/ServerManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index 378d8a52d..23a587340 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -789,7 +789,7 @@ public class ServerManager { serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024)); + pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(4 * 1024)); pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("stringEncoder", new StringEncoder()); pipeline.addLast("objectDecoder", new WialonProtocolDecoder(dataManager, protocol, properties)); -- cgit v1.2.3