aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_errno.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-10-31 04:00:37 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-10-31 04:00:37 +0400
commit0eee3b0bc5ff2d62d38488bae1e67172c868d0f7 (patch)
tree66adb97e277b897047895ed243246d3caaf035cb /src/os/win32/ngx_errno.h
parent475832834bc1ddd53011fee737be51ac24fb2ce8 (diff)
downloadnginx-0eee3b0bc5ff2d62d38488bae1e67172c868d0f7.tar.gz
nginx-0eee3b0bc5ff2d62d38488bae1e67172c868d0f7.zip
Core: handling of getsockopt(TCP_DEFER_ACCEPT) failures.
Recent Linux versions started to return EOPNOTSUPP to getsockopt() calls on unix sockets, resulting in log pollution on binary upgrade. Such errors are silently ignored now.
Diffstat (limited to 'src/os/win32/ngx_errno.h')
-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 113c7c439..b1a7b36e5 100644
--- a/src/os/win32/ngx_errno.h
+++ b/src/os/win32/ngx_errno.h
@@ -38,6 +38,7 @@ typedef DWORD ngx_err_t;
#define NGX_EPIPE EPIPE
#define NGX_EAGAIN WSAEWOULDBLOCK
#define NGX_EINPROGRESS WSAEINPROGRESS
+#define NGX_EOPNOTSUPP WSAEOPNOTSUPP
#define NGX_EADDRINUSE WSAEADDRINUSE
#define NGX_ECONNABORTED WSAECONNABORTED
#define NGX_ECONNRESET WSAECONNRESET