diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-06 20:44:26 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-06 20:44:26 +1300 |
commit | abcadef0f6465743e85aa011f39367fddbe7d8e5 (patch) | |
tree | dc5d063c0c2f6bfd7f602e6027db478b19b1a203 | |
parent | 3c0d6bc88adc702fac35ef4f5c3a42e1b435f603 (diff) | |
download | traccar-server-abcadef0f6465743e85aa011f39367fddbe7d8e5.tar.gz traccar-server-abcadef0f6465743e85aa011f39367fddbe7d8e5.tar.bz2 traccar-server-abcadef0f6465743e85aa011f39367fddbe7d8e5.zip |
Increase Wialon size limit (fix #1112)
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |