Increase session limit to 1024 x 30%

This commit is contained in:
M66B 2018-03-25 07:17:09 +02:00
parent 630eee16a8
commit c1ebd474a9
1 changed files with 1 additions and 1 deletions

View File

@ -58,8 +58,8 @@
#define TCP_KEEP_TIMEOUT 300 // seconds
// https://en.wikipedia.org/wiki/Maximum_segment_lifetime
#define SESSION_MAX 255 // number
#define SESSION_LIMIT 30 // percent
#define SESSION_MAX (1024 * SESSION_LIMIT / 100) // number
#define SEND_BUF_DEFAULT 163840 // bytes