Mercurial > hg > nginx
comparison src/os/unix/ngx_process_cycle.c @ 5601:e45fa57ef725
Added connection serial number in logging of left open sockets.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 06 Mar 2014 23:15:10 +0400 |
parents | b91bcba29351 |
children | 777202558122 |
comparison
equal
deleted
inserted
replaced
5600:957d734362ed | 5601:e45fa57ef725 |
---|---|
1044 && !c[i].read->accept | 1044 && !c[i].read->accept |
1045 && !c[i].read->channel | 1045 && !c[i].read->channel |
1046 && !c[i].read->resolver) | 1046 && !c[i].read->resolver) |
1047 { | 1047 { |
1048 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, | 1048 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, |
1049 "open socket #%d left in connection %ui", | 1049 "*%uA open socket #%d left in connection %ui", |
1050 c[i].fd, i); | 1050 c[i].number, c[i].fd, i); |
1051 ngx_debug_quit = 1; | 1051 ngx_debug_quit = 1; |
1052 } | 1052 } |
1053 } | 1053 } |
1054 | 1054 |
1055 if (ngx_debug_quit) { | 1055 if (ngx_debug_quit) { |