From 57f7183c9a7e29f6a1de1754ece9ede7a1e5da58 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 21 Apr 2020 22:14:32 -0700 Subject: Increase Flespi content limit --- src/main/java/org/traccar/protocol/FlespiProtocol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/traccar/protocol/FlespiProtocol.java b/src/main/java/org/traccar/protocol/FlespiProtocol.java index 2c0729b76..05b105f93 100644 --- a/src/main/java/org/traccar/protocol/FlespiProtocol.java +++ b/src/main/java/org/traccar/protocol/FlespiProtocol.java @@ -29,7 +29,7 @@ public class FlespiProtocol extends BaseProtocol { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { pipeline.addLast(new HttpResponseEncoder()); - pipeline.addLast(new HttpRequestDecoder()); + pipeline.addLast(new HttpRequestDecoder(4096, 8192, 128 * 1024)); pipeline.addLast(new HttpObjectAggregator(Integer.MAX_VALUE)); pipeline.addLast(new FlespiProtocolDecoder(FlespiProtocol.this)); } -- cgit v1.2.3