aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-06-07 06:49:14 -0700
committerAnton Tananaev <anton@traccar.org>2023-06-07 06:49:14 -0700
commitffbfba88830561b27e1d15857fed664f4b7813ba (patch)
treeb25f81964a23f733af7253b128505ee788ed4cd4 /src/main
parent1df3562c439ac8d23c1f03e60acba39468de138c (diff)
downloadtrackermap-server-ffbfba88830561b27e1d15857fed664f4b7813ba.tar.gz
trackermap-server-ffbfba88830561b27e1d15857fed664f4b7813ba.tar.bz2
trackermap-server-ffbfba88830561b27e1d15857fed664f4b7813ba.zip
Increase frame limit
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2Protocol.java2
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));
}