Document the correct default value of SOMAXCONN
Motivation: Recently we changed the default value of SOMAXCONN that is used when we can not determine it by reading /proc/sys/net/core/somaxconn. While doing this we missed to update the javadocs to reflect the new default value that is used. Modifications: List correct default value in the javadocs of SOMAXCONN. Result: Correct javadocs.
This commit is contained in:
parent
d7734861c8
commit
d150ee7886
@ -63,8 +63,8 @@ public final class NetUtil {
|
||||
public static final NetworkInterface LOOPBACK_IF;
|
||||
|
||||
/**
|
||||
* The SOMAXCONN value of the current machine. If failed to get the value, 3072 is used as a
|
||||
* default value.
|
||||
* The SOMAXCONN value of the current machine. If failed to get the value, {@code 200} is used as a
|
||||
* default value for Windows or {@code 128} for others.
|
||||
*/
|
||||
public static final int SOMAXCONN;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user