comparison src/os/unix/ngx_process_cycle.c @ 3026:f4b5c787fe33

fix debug point for left open sockets
author Igor Sysoev <igor@sysoev.ru>
date Thu, 13 Aug 2009 08:40:25 +0000
parents 56d1e38a0dda
children f9d97311c652
comparison
equal deleted inserted replaced
3025:baff3edcb6e2 3026:f4b5c787fe33
1015 && !c[i].read->accept 1015 && !c[i].read->accept
1016 && !c[i].read->channel 1016 && !c[i].read->channel
1017 && !c[i].read->resolver) 1017 && !c[i].read->resolver)
1018 { 1018 {
1019 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, 1019 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
1020 "open socket #%d left in connection %ui%s", 1020 "open socket #%d left in connection %ui",
1021 c[i].fd, i, ngx_debug_quit ? ", aborting" : ""); 1021 c[i].fd, i);
1022 ngx_debug_point(); 1022 ngx_debug_quit = 1;
1023 } 1023 }
1024 } 1024 }
1025 1025
1026 if (ngx_debug_quit) { 1026 if (ngx_debug_quit) {
1027 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "aborting");
1027 ngx_debug_point(); 1028 ngx_debug_point();
1028 } 1029 }
1029 } 1030 }
1030 1031
1031 /* 1032 /*