aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-18 12:07:50 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-18 12:07:50 -0700
commitc2ee0f4d9688de777b3f7cdf12ae486e22ae47ac (patch)
tree301905b37157d92ab9ed0b0ee3cd4d04aeca62dd /src/main/java/org
parentbbd1eeae922339316914ea0c3debead9ade784ae (diff)
downloadtrackermap-server-c2ee0f4d9688de777b3f7cdf12ae486e22ae47ac.tar.gz
trackermap-server-c2ee0f4d9688de777b3f7cdf12ae486e22ae47ac.tar.bz2
trackermap-server-c2ee0f4d9688de777b3f7cdf12ae486e22ae47ac.zip
Increase frame limit
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/NavtelecomProtocol.java2
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));
}
});