diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-01-27 17:10:06 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-01-27 17:19:29 +0100 |
commit | 9564b0ce2c239b02235414d908829fff9c684a8c (patch) | |
tree | 7ed1623ef3335e79b558211b9f740460ed47646c /config.h | |
parent | 102b61175ccb8a8e16444b25b319b8e3806eba1c (diff) |
Increased JSON buffer size to 12288 (libnDPI serializes more and more information).
* Making Compare&Fetch mandatory.
* Added some more Compare&Fetch to prevent TSAN complaining about data races.
Fixed possible but more ore less harmless data races during shutdown process.
* Shrink SIGNAL handler to a minimum. SYSV Signal handling and MT-safety is awkward.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ * NOTE: Buffer size needs to keep in sync with other implementations * e.g. dependencies/nDPIsrvd.py */ -#define NETWORK_BUFFER_MAX_SIZE 9728 /* 8192 + 1024 + 512 */ +#define NETWORK_BUFFER_MAX_SIZE 12288 /* 8192 + 4096 */ /* nDPId default config options */ #define nDPId_PIDFILE "/tmp/ndpid.pid" |