comparison src/core/ngx_connection.c @ 1225:8dfa34cb186e

add comment
author Igor Sysoev <igor@sysoev.ru>
date Wed, 30 May 2007 13:24:50 +0000
parents 53e3dd035140
children 0d57c150115b
comparison
equal deleted inserted replaced
1224:53e3dd035140 1225:8dfa34cb186e
417 } 417 }
418 } 418 }
419 #endif 419 #endif
420 420
421 if (ls[i].listen) { 421 if (ls[i].listen) {
422
423 /* change backlog via listen() */
424
422 if (listen(ls[i].fd, ls[i].backlog) == -1) { 425 if (listen(ls[i].fd, ls[i].backlog) == -1) {
423 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, 426 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno,
424 "listen() to %V, backlog %d failed, ignored", 427 "listen() to %V, backlog %d failed, ignored",
425 &ls[i].addr_text, ls[i].backlog); 428 &ls[i].addr_text, ls[i].backlog);
426 } 429 }