K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-19T14:17:12.000000Z K 7 svn:log V 415 MFC 1.226, with one change: use SHRT_MAX instead of USHRT_MAX, since sys/socketvar.h rev. 1.136 is not merged due to API freeze. - Add SYSCTL_PROC() around somaxconn, not accepting values < 1 or > SHRT_MAX. Before this change setting somaxconn to smth above 32767 and calling listen(fd, -1) lead to a socket, which doesn't accept connections at all. Reviewed by: rwatson Reported by: Igor Sysoev END