aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_connection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 362a70edc..9d22ac60b 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -419,6 +419,9 @@ ngx_configure_listening_socket(ngx_cycle_t *cycle)
#endif
if (ls[i].listen) {
+
+ /* change backlog via listen() */
+
if (listen(ls[i].fd, ls[i].backlog) == -1) {
ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno,
"listen() to %V, backlog %d failed, ignored",