From 17c8033029d50ce4a30b6e3585c0ee28ef45bc97 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 17 May 2007 19:52:12 +0000 Subject: [PATCH] 128 listener sockets is way too much. --- src/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.h b/src/net.h index d66a1c7a..9082d8b9 100644 --- a/src/net.h +++ b/src/net.h @@ -37,7 +37,7 @@ #define MAXSIZE (MTU + 4 + EVP_MAX_BLOCK_LENGTH + EVP_MAX_MD_SIZE + MTU/64 + 20) /* MTU + seqno + padding + HMAC + compressor overhead */ #define MAXBUFSIZE ((MAXSIZE > 2048 ? MAXSIZE : 2048) + 128) /* Enough room for a request with a MAXSIZEd packet or a 8192 bits RSA key */ -#define MAXSOCKETS 128 /* Overkill... */ +#define MAXSOCKETS 8 /* Probably overkill... */ #define MAXQUEUELENGTH 8 /* Maximum number of packats in a single queue */ -- 2.39.5