Increased network buffer size for python scripts (and raise exception if capacity reached).

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2021-01-08 10:54:44 +01:00
parent f637802c0a
commit b82a535a45
2 changed files with 8 additions and 1 deletions

View File

@@ -7,6 +7,10 @@
#define DISTRIBUTOR_HOST "127.0.0.1"
#define DISTRIBUTOR_PORT 7000
/*
* 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 */
/* nDPId default config options */