Bump default FD_SETSIZE from 256 to 1024 as many modern
systems do nowdays (like SunOs 5.5.1 f.e.) 256 is too small under real network load
This commit is contained in:
parent
c685f73d2a
commit
acc2427984
@ -136,7 +136,7 @@ typedef _BSD_TIME_T_ time_t;
|
||||
* be enough for most uses.
|
||||
*/
|
||||
#ifndef FD_SETSIZE
|
||||
#define FD_SETSIZE 256
|
||||
#define FD_SETSIZE 1024
|
||||
#endif
|
||||
|
||||
typedef long fd_mask;
|
||||
|
Loading…
Reference in New Issue
Block a user