diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-18 12:07:50 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-18 12:07:50 -0700 |
commit | c2ee0f4d9688de777b3f7cdf12ae486e22ae47ac (patch) | |
tree | 301905b37157d92ab9ed0b0ee3cd4d04aeca62dd /src/main | |
parent | bbd1eeae922339316914ea0c3debead9ade784ae (diff) | |
download | trackermap-server-c2ee0f4d9688de777b3f7cdf12ae486e22ae47ac.tar.gz trackermap-server-c2ee0f4d9688de777b3f7cdf12ae486e22ae47ac.tar.bz2 trackermap-server-c2ee0f4d9688de777b3f7cdf12ae486e22ae47ac.zip |
Increase frame limit
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/NavtelecomProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/NavtelecomProtocol.java b/src/main/java/org/traccar/protocol/NavtelecomProtocol.java index 29ad62e48..24bfbf895 100644 --- a/src/main/java/org/traccar/protocol/NavtelecomProtocol.java +++ b/src/main/java/org/traccar/protocol/NavtelecomProtocol.java @@ -28,7 +28,7 @@ public class NavtelecomProtocol extends BaseProtocol { addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 12, 2, 2, 0, true)); + pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 65535, 12, 2, 2, 0, true)); pipeline.addLast(new NavtelecomProtocolDecoder(NavtelecomProtocol.this)); } }); |