Mercurial > dropbear
comparison sysoptions.h @ 936:d93a6bcf616f
Improve handling lots of concurrent forwarded connections. Increase
connection backlog, avoid check_close() for channels that haven't had IO
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 25 Jun 2014 23:42:39 +0800 |
parents | 2351b2da8e0d |
children | e4453b367db7 |
comparison
equal
deleted
inserted
replaced
935:25692c60479e | 936:d93a6bcf616f |
---|---|
249 | 249 |
250 #ifndef HAVE_FORK | 250 #ifndef HAVE_FORK |
251 #define USE_VFORK | 251 #define USE_VFORK |
252 #endif /* don't HAVE_FORK */ | 252 #endif /* don't HAVE_FORK */ |
253 | 253 |
254 #if MAX_UNAUTH_CLIENTS > MAX_CHANNELS | |
255 #define DROPBEAR_LISTEN_BACKLOG MAX_UNAUTH_CLIENTS | |
256 #else | |
257 #define DROPBEAR_LISTEN_BACKLOG MAX_CHANNELS | |
258 #endif | |
259 | |
254 /* no include guard for this file */ | 260 /* no include guard for this file */ |