mirror of
https://github.com/nginx/nginx.git
synced 2026-05-28 04:12:47 -04:00
Added connection serial number in logging of left open sockets.
This commit is contained in:
parent
bd3516e8d9
commit
f9e7687e55
2 changed files with 4 additions and 4 deletions
|
|
@ -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 a new issue