aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TlvProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/TlvProtocol.java')
-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));
}
});