diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-10-31 04:00:37 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-10-31 04:00:37 +0400 |
commit | 0eee3b0bc5ff2d62d38488bae1e67172c868d0f7 (patch) | |
tree | 66adb97e277b897047895ed243246d3caaf035cb /src/os/unix | |
parent | 475832834bc1ddd53011fee737be51ac24fb2ce8 (diff) | |
download | nginx-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/unix')
-rw-r--r-- | src/os/unix/ngx_errno.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 6d1a4889a..663e460d9 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -34,6 +34,7 @@ typedef int ngx_err_t; #define NGX_ENOSPC ENOSPC #define NGX_EPIPE EPIPE #define NGX_EINPROGRESS EINPROGRESS +#define NGX_EOPNOTSUPP EOPNOTSUPP #define NGX_EADDRINUSE EADDRINUSE #define NGX_ECONNABORTED ECONNABORTED #define NGX_ECONNRESET ECONNRESET |