aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-01-10 18:11:23 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-01-10 18:11:23 -0800
commit103e54bd87d744ccc5c2f453b4a752f76d599ebf (patch)
tree43816a4a741cad26883197fb9cb4c4304945ac5a /src
parentf361d5ec3c889cca03a6ff184c9125b43f7b3378 (diff)
downloadtrackermap-server-103e54bd87d744ccc5c2f453b4a752f76d599ebf.tar.gz
trackermap-server-103e54bd87d744ccc5c2f453b4a752f76d599ebf.tar.bz2
trackermap-server-103e54bd87d744ccc5c2f453b4a752f76d599ebf.zip
Increase message size limit
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2Protocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/Minifinder2Protocol.java b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java
index 957b8f4d0..ac6207b2d 100644
--- a/src/main/java/org/traccar/protocol/Minifinder2Protocol.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Anton Tananaev (anton@traccar.org)
+ * Copyright 2021 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ public class Minifinder2Protocol extends BaseProtocol {
addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 2, 2, 4, 0, true));
+ pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1200, 2, 2, 4, 0, true));
pipeline.addLast(new Minifinder2ProtocolDecoder(Minifinder2Protocol.this));
}
});