aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-12-08 23:16:28 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-12-08 23:16:28 -0800
commit21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea (patch)
tree011dc309a5d9c93fb353b000963bc1e86a06d243
parent955c1abe0753a030846db552c6eea262d7d326d1 (diff)
downloadtraccar-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.tar.gz
traccar-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.tar.bz2
traccar-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.zip
Increase frame limit
-rw-r--r--src/main/java/org/traccar/protocol/FlexApiProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/FlexApiProtocol.java b/src/main/java/org/traccar/protocol/FlexApiProtocol.java
index a1e741eee..bc6a49907 100644
--- a/src/main/java/org/traccar/protocol/FlexApiProtocol.java
+++ b/src/main/java/org/traccar/protocol/FlexApiProtocol.java
@@ -27,7 +27,7 @@ public class FlexApiProtocol extends BaseProtocol {
addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast(new LineBasedFrameDecoder(1024));
+ pipeline.addLast(new LineBasedFrameDecoder(5120));
pipeline.addLast(new StringDecoder());
pipeline.addLast(new FlexApiProtocolDecoder(FlexApiProtocol.this));
}