aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-19 02:28:30 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-19 02:28:35 +1200
commit50341e5aa1bfcf3f77c0c8aaef298ae78549d830 (patch)
tree60697d79aadf9e3623d09cb4e0a79e01e85b4a9b
parent7213990c56badfa7a22591cb49c43c0e1e76b30e (diff)
downloadtraccar-server-50341e5aa1bfcf3f77c0c8aaef298ae78549d830.tar.gz
traccar-server-50341e5aa1bfcf3f77c0c8aaef298ae78549d830.tar.bz2
traccar-server-50341e5aa1bfcf3f77c0c8aaef298ae78549d830.zip
Increase HTTP DMT message limit
-rw-r--r--src/org/traccar/protocol/DmtHttpProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/DmtHttpProtocol.java b/src/org/traccar/protocol/DmtHttpProtocol.java
index c1b0f5601..2378441ba 100644
--- a/src/org/traccar/protocol/DmtHttpProtocol.java
+++ b/src/org/traccar/protocol/DmtHttpProtocol.java
@@ -38,7 +38,7 @@ public class DmtHttpProtocol extends BaseProtocol {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("httpEncoder", new HttpResponseEncoder());
pipeline.addLast("httpDecoder", new HttpRequestDecoder());
- pipeline.addLast("httpAggregator", new HttpChunkAggregator(16384));
+ pipeline.addLast("httpAggregator", new HttpChunkAggregator(65535));
pipeline.addLast("objectDecoder", new DmtHttpProtocolDecoder(DmtHttpProtocol.this));
}
});