From 74b3e7655e0b12241c80497eea0028afff309883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leonard?= Date: Mon, 22 Mar 2021 19:06:38 +0100 Subject: [PATCH] add maximum content length default values --- .../configuration/.pages | 1 + .../configuration/misc.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 docs/thehive/installation-and-configuration/configuration/misc.md diff --git a/docs/thehive/installation-and-configuration/configuration/.pages b/docs/thehive/installation-and-configuration/configuration/.pages index 455651e5..7812dd08 100644 --- a/docs/thehive/installation-and-configuration/configuration/.pages +++ b/docs/thehive/installation-and-configuration/configuration/.pages @@ -8,4 +8,5 @@ nav: - MISP connector: 'connectors-misp.md' - Webhooks: 'webhooks.md' - Streams: 'streams.md' + - Misc.: 'misc.md' - Logs: 'logs.md' \ No newline at end of file diff --git a/docs/thehive/installation-and-configuration/configuration/misc.md b/docs/thehive/installation-and-configuration/configuration/misc.md new file mode 100644 index 00000000..c686367a --- /dev/null +++ b/docs/thehive/installation-and-configuration/configuration/misc.md @@ -0,0 +1,15 @@ +# Miscelleneous settings + +## Manage content lengh + +Content length of text and files managed by the application are limited by default. Before TheHive 4.1.1, they were set to very small values. +Default values in TheHive 4.1.1 are set with these default parameters: + +``` +play.http.parser.maxDiskBuffer: 128MB +play.http.parser.maxMemoryBuffer: 256kB +``` + +If you feel that these should be updated, edit `/etc/thehive/application.conf` file and update these parameters. + +