mirror of
https://github.com/nginx/nginx.git
synced 2024-12-11 09:49:02 +08:00
add comment
This commit is contained in:
parent
d4aa572c8d
commit
b1c6c4323e
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user