diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-11 23:26:58 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-11 23:26:58 +1300 |
commit | 97a647f5dabb5d34f3fd4a33df3ee2cd6816c6b5 (patch) | |
tree | 628e96963c24cc4e77dec26edbe48d55578f84af /src/org/traccar/protocol/Gl200Protocol.java | |
parent | 018a50801033b4c636faae52bcb955fb8d3a0105 (diff) | |
download | trackermap-server-97a647f5dabb5d34f3fd4a33df3ee2cd6816c6b5.tar.gz trackermap-server-97a647f5dabb5d34f3fd4a33df3ee2cd6816c6b5.tar.bz2 trackermap-server-97a647f5dabb5d34f3fd4a33df3ee2cd6816c6b5.zip |
Increase frame limit for GL200 protocol
Diffstat (limited to 'src/org/traccar/protocol/Gl200Protocol.java')
-rw-r--r-- | src/org/traccar/protocol/Gl200Protocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl200Protocol.java b/src/org/traccar/protocol/Gl200Protocol.java index 3bf558d71..57c8fce1b 100644 --- a/src/org/traccar/protocol/Gl200Protocol.java +++ b/src/org/traccar/protocol/Gl200Protocol.java @@ -44,7 +44,7 @@ public class Gl200Protocol extends BaseProtocol { serverList.add(new TrackerServer(new ServerBootstrap(), getName()) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, "$", "\0")); + pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(4096, "$", "\0")); pipeline.addLast("stringEncoder", new StringEncoder()); pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("objectEncoder", new Gl200ProtocolEncoder()); |