summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_errno.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2019-09-24 15:33:42 +0300
committerValentin Bartenev <vbart@nginx.com>2019-09-24 15:33:42 +0300
commit514f34144a491832db1647c84a7271120ba7e7d6 (patch)
tree44565d310f670ab5ea8282109809a1665a0d2269 /src/nxt_errno.h
parentc416933171810a85b4e4e8fa6778820e1746b003 (diff)
downloadunit-514f34144a491832db1647c84a7271120ba7e7d6.tar.gz
unit-514f34144a491832db1647c84a7271120ba7e7d6.tar.bz2
Static: returning 404 for Unix domain sockets.
It's now similar to how attempts to access other non-regular files are handled.
Diffstat (limited to '')
-rw-r--r--src/nxt_errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_errno.h b/src/nxt_errno.h
index e3ce8349..1b29ef2f 100644
--- a/src/nxt_errno.h
+++ b/src/nxt_errno.h
@@ -16,6 +16,7 @@ typedef int nxt_err_t;
#define NXT_ENOPATH ENOENT
#define NXT_ESRCH ESRCH
#define NXT_EINTR EINTR
+#define NXT_ENXIO ENXIO
#define NXT_ECHILD ECHILD
#define NXT_ENOMEM ENOMEM
#define NXT_EACCES EACCES