aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-11-23 15:46:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-11-23 15:46:21 +0000
commit72db760eca850562cc89c550c6cf9f54d657f532 (patch)
treeaf6ddc31736caa6dcf4327fd8990aa1ccfab4f41 /src/core/ngx_connection.c
parent8019121120853dbdab475ec9091f0aeb2aad7bbb (diff)
downloadnginx-72db760eca850562cc89c550c6cf9f54d657f532.tar.gz
nginx-72db760eca850562cc89c550c6cf9f54d657f532.zip
add NGX_PROCESS_HELPER process status
Diffstat (limited to 'src/core/ngx_connection.c')
-rw-r--r--src/core/ngx_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 3bd9cc676..9a9023699 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -634,7 +634,7 @@ ngx_close_listening_sockets(ngx_cycle_t *cycle)
#if (NGX_HAVE_UNIX_DOMAIN)
if (ls[i].sockaddr->sa_family == AF_UNIX
- && ngx_process != NGX_PROCESS_WORKER
+ && ngx_process <= NGX_PROCESS_MASTER
&& ngx_new_binary == 0)
{
u_char *name = ls[i].addr_text.data + sizeof("unix:") - 1;