mirror of
https://github.com/nginx/nginx.git
synced 2024-12-03 13: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)
|
||||
{
|
||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
||||
"open socket #%d left in connection %ui",
|
||||
c[i].fd, i);
|
||||
"*%uA open socket #%d left in connection %ui",
|
||||
c[i].number, c[i].fd, i);
|
||||
ngx_debug_quit = 1;
|
||||
}
|
||||
}
|
||||
|
@ -881,8 +881,8 @@ ngx_worker_process_exit(ngx_cycle_t *cycle)
|
||||
&& !c[i].read->resolver)
|
||||
{
|
||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
||||
"open socket #%d left in connection %ui",
|
||||
c[i].fd, i);
|
||||
"*%uA open socket #%d left in connection %ui",
|
||||
c[i].number, c[i].fd, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user