From 1642a04f484bfd7ea92d63d0ad6bfb3046f0c206 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 21 Jul 2021 12:05:03 +0200 Subject: tcp: Increase maximum window scaling factor from 8 to 9 This is actually reasonable in terms of memory consumption and allows for better performance with local services. Signed-off-by: Stefano Brivio --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcp.c b/tcp.c index 86cb92c..58af89f 100644 --- a/tcp.c +++ b/tcp.c @@ -357,7 +357,7 @@ #define TCP_HASH_TABLE_SIZE (MAX_TAP_CONNS * 100 / \ TCP_HASH_TABLE_LOAD) -#define MAX_WS 8 +#define MAX_WS 9 #define MAX_WINDOW (1 << (16 + (MAX_WS))) #define MSS_DEFAULT 536 #define WINDOW_DEFAULT 14600 /* RFC 6928 */ -- cgit v1.2.3