aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
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 /src/main/java/org/traccar
parentbe4a9566fd67fc3f42888df75949163438db809c (diff)
downloadtrackermap-server-57f7183c9a7e29f6a1de1754ece9ede7a1e5da58.tar.gz
trackermap-server-57f7183c9a7e29f6a1de1754ece9ede7a1e5da58.tar.bz2
trackermap-server-57f7183c9a7e29f6a1de1754ece9ede7a1e5da58.zip
Increase Flespi content limit
Diffstat (limited to 'src/main/java/org/traccar')
-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));
}