mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
fix debug point for left open sockets
This commit is contained in:
parent
45ec56bdca
commit
c287a9811e
@ -1017,13 +1017,14 @@ 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%s",
|
||||
c[i].fd, i, ngx_debug_quit ? ", aborting" : "");
|
||||
ngx_debug_point();
|
||||
"open socket #%d left in connection %ui",
|
||||
c[i].fd, i);
|
||||
ngx_debug_quit = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (ngx_debug_quit) {
|
||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "aborting");
|
||||
ngx_debug_point();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user