aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-08-11 20:37:21 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-08-11 20:37:21 -0700
commit4c883de4cc491e59df121736d581b3317543db3b (patch)
tree72ee4c06bfe5b4623954bbd26cba865ae5d42eac
parentb56878dde35a8cc9275707a9c486a3cb095a09f5 (diff)
downloadtrackermap-server-4c883de4cc491e59df121736d581b3317543db3b.tar.gz
trackermap-server-4c883de4cc491e59df121736d581b3317543db3b.tar.bz2
trackermap-server-4c883de4cc491e59df121736d581b3317543db3b.zip
Remove frame decoded as a workaround
-rw-r--r--src/main/java/org/traccar/protocol/MictrackProtocol.java2
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));