netty5/common/src/main/java
Norman Maurer 1f95e5db4c [#2720] Check if /proc/sys/net/core/somaxconn exists before try to parse it
Motivation:

As /proc/sys/net/core/somaxconn does not exists on non-linux platforms you see a noisy stacktrace when debug level is enabled while the static method of NetUtil is executed.

Modifications:

Check if the file exists before try to parse it.

Result:

Less noisy logging on non-linux platforms.
2014-07-31 18:08:54 -07:00
..
io/netty/util [#2720] Check if /proc/sys/net/core/somaxconn exists before try to parse it 2014-07-31 18:08:54 -07:00