aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-07-02 11:31:14 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2018-07-02 11:31:14 -0700
commit86ac75eb6e10d9161a9d29dab47f3da8356549d0 (patch)
tree26886153e151f23db4c970b6a623ec22e0099cfc /src/org
parentef3bf24ff34fbeaf60f951663db502fcc1894b7d (diff)
downloadtrackermap-server-86ac75eb6e10d9161a9d29dab47f3da8356549d0.tar.gz
trackermap-server-86ac75eb6e10d9161a9d29dab47f3da8356549d0.tar.bz2
trackermap-server-86ac75eb6e10d9161a9d29dab47f3da8356549d0.zip
Fix issue with TLV frame decoder
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/TlvProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TlvProtocol.java b/src/org/traccar/protocol/TlvProtocol.java
index ddc8d2a6e..bfe597e76 100644
--- a/src/org/traccar/protocol/TlvProtocol.java
+++ b/src/org/traccar/protocol/TlvProtocol.java
@@ -33,7 +33,7 @@ public class TlvProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder('\0'));
+ pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, '\0'));
pipeline.addLast("objectDecoder", new TlvProtocolDecoder(TlvProtocol.this));
}
});