summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_errno.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2013-07-30 11:43:21 +0400
committerSergey Kandaurov <pluknet@nginx.com>2013-07-30 11:43:21 +0400
commit2b2def789199b1fc661fbac38ff6bf7fdccb7bbb (patch)
tree64c8de640346d21d7a0ec072737529dec09a372e /src/os/win32/ngx_errno.h
parenteb3fed9338768a152d208cf15f78eb60f2c0b6d2 (diff)
downloadnginx-2b2def789199b1fc661fbac38ff6bf7fdccb7bbb.tar.gz
nginx-2b2def789199b1fc661fbac38ff6bf7fdccb7bbb.tar.bz2
Autoindex: improved ngx_de_info() error handling.
This allows to build a directory listing whenever a loop exists in symbolic link resolution of the path argument.
Diffstat (limited to '')
-rw-r--r--src/os/win32/ngx_errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h
index 090ba1b53..decb6fef0 100644
--- a/src/os/win32/ngx_errno.h
+++ b/src/os/win32/ngx_errno.h
@@ -51,6 +51,7 @@ typedef DWORD ngx_err_t;
#define NGX_EHOSTUNREACH WSAEHOSTUNREACH
#define NGX_ENOMOREFILES ERROR_NO_MORE_FILES
#define NGX_EILSEQ ERROR_NO_UNICODE_TRANSLATION
+#define NGX_ELOOP 0
#define NGX_EALREADY WSAEALREADY
#define NGX_EINVAL WSAEINVAL