diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-12-08 23:16:28 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-12-08 23:16:28 -0800 |
commit | 21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea (patch) | |
tree | 011dc309a5d9c93fb353b000963bc1e86a06d243 /src/main/java | |
parent | 955c1abe0753a030846db552c6eea262d7d326d1 (diff) | |
download | trackermap-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.tar.gz trackermap-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.tar.bz2 trackermap-server-21eab8d6d4ce37c1d6bf20e9dbb897fabf9a0eea.zip |
Increase frame limit
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/FlexApiProtocol.java | 2 |
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)); } |