diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-05-30 13:24:50 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-05-30 13:24:50 +0000 |
commit | b1c6c4323eb442028e43054b7c8203625dfeb30c (patch) | |
tree | 7235ca68855ab69aaffd84a6716a6c156d5c59f8 /src | |
parent | d4aa572c8d959facaa23f73c4fda2acc707e8a19 (diff) | |
download | nginx-b1c6c4323eb442028e43054b7c8203625dfeb30c.tar.gz nginx-b1c6c4323eb442028e43054b7c8203625dfeb30c.zip |
add comment
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_connection.c | 3 |
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", |