diff options
author | Anton Tananaev <anton@traccar.org> | 2023-06-07 06:49:14 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-06-07 06:49:14 -0700 |
commit | ffbfba88830561b27e1d15857fed664f4b7813ba (patch) | |
tree | b25f81964a23f733af7253b128505ee788ed4cd4 /src/main/java/org | |
parent | 1df3562c439ac8d23c1f03e60acba39468de138c (diff) | |
download | trackermap-server-ffbfba88830561b27e1d15857fed664f4b7813ba.tar.gz trackermap-server-ffbfba88830561b27e1d15857fed664f4b7813ba.tar.bz2 trackermap-server-ffbfba88830561b27e1d15857fed664f4b7813ba.zip |
Increase frame limit
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/Minifinder2Protocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Minifinder2Protocol.java b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java index 61a43d8db..842194235 100644 --- a/src/main/java/org/traccar/protocol/Minifinder2Protocol.java +++ b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java @@ -35,7 +35,7 @@ public class Minifinder2Protocol extends BaseProtocol { addServer(new TrackerServer(config, getName(), false) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline, Config config) { - pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1200, 2, 2, 4, 0, true)); + pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 2048, 2, 2, 4, 0, true)); pipeline.addLast(new Minifinder2ProtocolEncoder(Minifinder2Protocol.this)); pipeline.addLast(new Minifinder2ProtocolDecoder(Minifinder2Protocol.this)); } |