aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-04-21 22:14:32 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-04-21 22:14:46 -0700
commit57f7183c9a7e29f6a1de1754ece9ede7a1e5da58 (patch)
tree7d3e0fc64c6431e092fb0c1769e0818c5df1c3ce
parentbe4a9566fd67fc3f42888df75949163438db809c (diff)
downloadtraccar-server-57f7183c9a7e29f6a1de1754ece9ede7a1e5da58.tar.gz
traccar-server-57f7183c9a7e29f6a1de1754ece9ede7a1e5da58.tar.bz2
traccar-server-57f7183c9a7e29f6a1de1754ece9ede7a1e5da58.zip
Increase Flespi content limit
-rw-r--r--src/main/java/org/traccar/protocol/FlespiProtocol.java2
1 files changed, 1 insertions, 1 deletions
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));
}