Static: returning 404 for Unix domain sockets.

It's now similar to how attempts to access other non-regular files are handled.
This commit is contained in:
Valentin Bartenev
2019-09-24 15:33:42 +03:00
parent c416933171
commit 514f34144a
2 changed files with 12 additions and 0 deletions

View File

@@ -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