diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-04-21 22:14:32 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-04-21 22:14:46 -0700 |
commit | 57f7183c9a7e29f6a1de1754ece9ede7a1e5da58 (patch) | |
tree | 7d3e0fc64c6431e092fb0c1769e0818c5df1c3ce | |
parent | be4a9566fd67fc3f42888df75949163438db809c (diff) | |
download | traccar-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.java | 2 |
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)); } |