From b1c6c4323eb442028e43054b7c8203625dfeb30c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 30 May 2007 13:24:50 +0000 Subject: [PATCH] add comment --- src/core/ngx_connection.c | 3 +++ 1 file changed, 3 insertions(+) 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",