diff options
author | Anton Tananaev <anton@traccar.org> | 2023-05-11 07:51:47 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-05-11 07:51:56 -0700 |
commit | 22c86a7096743ef592facd36f1ddcc756eb0459b (patch) | |
tree | b2e15c8e8d918e99e46c1abe57bf4ab0fef0cd8f | |
parent | 73e9051548baacda28e3ccd827c260da484f1b0c (diff) | |
download | trackermap-server-22c86a7096743ef592facd36f1ddcc756eb0459b.tar.gz trackermap-server-22c86a7096743ef592facd36f1ddcc756eb0459b.tar.bz2 trackermap-server-22c86a7096743ef592facd36f1ddcc756eb0459b.zip |
Increase iStartek frame limit
-rw-r--r-- | src/main/java/org/traccar/protocol/StartekProtocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/StartekProtocol.java b/src/main/java/org/traccar/protocol/StartekProtocol.java index d010df858..1b1c93e33 100644 --- a/src/main/java/org/traccar/protocol/StartekProtocol.java +++ b/src/main/java/org/traccar/protocol/StartekProtocol.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Anton Tananaev (anton@traccar.org) + * Copyright 2021 - 2023 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. @@ -38,7 +38,7 @@ public class StartekProtocol extends BaseProtocol { addServer(new TrackerServer(config, getName(), false) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline, Config config) { - pipeline.addLast(new LineBasedFrameDecoder(1024)); + pipeline.addLast(new LineBasedFrameDecoder(1100)); pipeline.addLast(new StringEncoder()); pipeline.addLast(new StringDecoder()); pipeline.addLast(new StartekProtocolEncoder(StartekProtocol.this)); |