Mercurial > hg > nginx
comparison src/core/ngx_connection.c @ 3358:f94e8ff65aa2
add NGX_PROCESS_HELPER process status
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Nov 2009 15:46:21 +0000 |
parents | 6ed04ab2d062 |
children | 102fdc22de4d |
comparison
equal
deleted
inserted
replaced
3357:fc735aa50b8b | 3358:f94e8ff65aa2 |
---|---|
632 } | 632 } |
633 | 633 |
634 #if (NGX_HAVE_UNIX_DOMAIN) | 634 #if (NGX_HAVE_UNIX_DOMAIN) |
635 | 635 |
636 if (ls[i].sockaddr->sa_family == AF_UNIX | 636 if (ls[i].sockaddr->sa_family == AF_UNIX |
637 && ngx_process != NGX_PROCESS_WORKER | 637 && ngx_process <= NGX_PROCESS_MASTER |
638 && ngx_new_binary == 0) | 638 && ngx_new_binary == 0) |
639 { | 639 { |
640 u_char *name = ls[i].addr_text.data + sizeof("unix:") - 1; | 640 u_char *name = ls[i].addr_text.data + sizeof("unix:") - 1; |
641 | 641 |
642 if (ngx_delete_file(name) == -1) { | 642 if (ngx_delete_file(name) == -1) { |