From 50341e5aa1bfcf3f77c0c8aaef298ae78549d830 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 19 May 2017 02:28:30 +1200 Subject: Increase HTTP DMT message limit --- src/org/traccar/protocol/DmtHttpProtocol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }); -- cgit v1.2.3