Unverified Commit 7da7d2aa authored by David CARLIER's avatar David CARLIER Committed by GitHub
Browse files

checkTcpBacklogSettings check for solaris based systems. (#10109)

parent 98414aca
...@@ -2121,6 +2121,10 @@ void checkTcpBacklogSettings(void) { ...@@ -2121,6 +2121,10 @@ void checkTcpBacklogSettings(void) {
serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because kern.somaxconn is set to the lower value of %d.", server.tcp_backlog, somaxconn); serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because kern.somaxconn is set to the lower value of %d.", server.tcp_backlog, somaxconn);
} }
} }
#elif defined(SOMAXCONN)
if (SOMAXCONN < server.tcp_backlog) {
serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because SOMAXCONN is set to the lower value of %d.", server.tcp_backlog, SOMAXCONN);
}
#endif #endif
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment