diff options
Diffstat (limited to '')
-rw-r--r-- | docs/changes.xml | 6 | ||||
-rw-r--r-- | src/nxt_main_process.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/changes.xml b/docs/changes.xml index f4f5dbf0..27fffc4c 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -39,6 +39,12 @@ increased the applications' startup timeout. <change type="feature"> <para> +supporting abstract UNIX sockets. +</para> +</change> + +<change type="feature"> +<para> supporting UNIX sockets in address matching. </para> </change> diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index 03761a10..39a8e112 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -1187,7 +1187,9 @@ nxt_main_listening_socket(nxt_sockaddr_t *sa, nxt_listening_socket_t *ls) #if (NXT_HAVE_UNIX_DOMAIN) - if (sa->u.sockaddr.sa_family == AF_UNIX) { + if (sa->u.sockaddr.sa_family == AF_UNIX + && sa->u.sockaddr_un.sun_path[0] != '\0') + { char *filename; mode_t access; |