mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 22:09:01 +08:00
Added connection serial number in logging of left open sockets.
This commit is contained in:
parent
bd3516e8d9
commit
f9e7687e55
@ -1046,8 +1046,8 @@ ngx_worker_process_exit(ngx_cycle_t *cycle)
|
|||||||
&& !c[i].read->resolver)
|
&& !c[i].read->resolver)
|
||||||
{
|
{
|
||||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
||||||
"open socket #%d left in connection %ui",
|
"*%uA open socket #%d left in connection %ui",
|
||||||
c[i].fd, i);
|
c[i].number, c[i].fd, i);
|
||||||
ngx_debug_quit = 1;
|
ngx_debug_quit = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -881,8 +881,8 @@ ngx_worker_process_exit(ngx_cycle_t *cycle)
|
|||||||
&& !c[i].read->resolver)
|
&& !c[i].read->resolver)
|
||||||
{
|
{
|
||||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
||||||
"open socket #%d left in connection %ui",
|
"*%uA open socket #%d left in connection %ui",
|
||||||
c[i].fd, i);
|
c[i].number, c[i].fd, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user