add comment

This commit is contained in:
Igor Sysoev 2007-05-30 13:24:50 +00:00
parent d4aa572c8d
commit b1c6c4323e

View File

@ -419,6 +419,9 @@ ngx_configure_listening_socket(ngx_cycle_t *cycle)
#endif #endif
if (ls[i].listen) { if (ls[i].listen) {
/* change backlog via listen() */
if (listen(ls[i].fd, ls[i].backlog) == -1) { if (listen(ls[i].fd, ls[i].backlog) == -1) {
ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno,
"listen() to %V, backlog %d failed, ignored", "listen() to %V, backlog %d failed, ignored",