projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d8dea80
)
128 listener sockets is way too much.
author
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 17 May 2007 19:52:12 +0000
(19:52 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 17 May 2007 19:52:12 +0000
(19:52 +0000)
src/net.h
patch
|
blob
|
history
diff --git
a/src/net.h
b/src/net.h
index
d66a1c7
..
9082d8b
100644
(file)
--- 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 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 /* O
verkill... */
+#define MAXSOCKETS
8 /* Probably o
verkill... */
#define MAXQUEUELENGTH 8 /* Maximum number of packats in a single queue */
#define MAXQUEUELENGTH 8 /* Maximum number of packats in a single queue */