aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-01-16 22:15:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-01-16 22:15:14 +1300
commit2276cfdcf4c2cedf5bef33ca0a68446b70aacb33 (patch)
treee4c111340d2af64d84e2cd567993c271bd41b534 /src/org/traccar/ServerManager.java
parentfd98c290b185ef51220527aeb7c69df8845c549b (diff)
downloadtrackermap-server-2276cfdcf4c2cedf5bef33ca0a68446b70aacb33.tar.gz
trackermap-server-2276cfdcf4c2cedf5bef33ca0a68446b70aacb33.tar.bz2
trackermap-server-2276cfdcf4c2cedf5bef33ca0a68446b70aacb33.zip
Another progress fix
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index 5a9a4cc8b..23b067712 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -411,7 +411,7 @@ public class ServerManager {
TrackerServer server = new TrackerServer(this, new ServerBootstrap(), protocol) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2, 0, 0));
+ pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2, 4, 0));
pipeline.addLast("objectDecoder", new ProgressProtocolDecoder(ServerManager.this));
}
};