diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-08-11 20:37:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-08-11 20:37:21 -0700 |
commit | 4c883de4cc491e59df121736d581b3317543db3b (patch) | |
tree | 72ee4c06bfe5b4623954bbd26cba865ae5d42eac /src | |
parent | b56878dde35a8cc9275707a9c486a3cb095a09f5 (diff) | |
download | traccar-server-4c883de4cc491e59df121736d581b3317543db3b.tar.gz traccar-server-4c883de4cc491e59df121736d581b3317543db3b.tar.bz2 traccar-server-4c883de4cc491e59df121736d581b3317543db3b.zip |
Remove frame decoded as a workaround
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/MictrackProtocol.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/MictrackProtocol.java b/src/main/java/org/traccar/protocol/MictrackProtocol.java index c8d64fd81..9fd9666e4 100644 --- a/src/main/java/org/traccar/protocol/MictrackProtocol.java +++ b/src/main/java/org/traccar/protocol/MictrackProtocol.java @@ -15,7 +15,6 @@ */ package org.traccar.protocol; -import io.netty.handler.codec.LineBasedFrameDecoder; import io.netty.handler.codec.string.StringDecoder; import io.netty.handler.codec.string.StringEncoder; import org.traccar.BaseProtocol; @@ -28,7 +27,6 @@ public class MictrackProtocol extends BaseProtocol { addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new LineBasedFrameDecoder(1024)); pipeline.addLast(new StringEncoder()); pipeline.addLast(new StringDecoder()); pipeline.addLast(new MictrackProtocolDecoder(MictrackProtocol.this)); |