From 0eee3b0bc5ff2d62d38488bae1e67172c868d0f7 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 31 Oct 2013 04:00:37 +0400 Subject: 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. --- src/os/unix/ngx_errno.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/os/unix') 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 -- cgit