summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-01 16:42:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-01 16:42:09 +0000
commit222c9f23bc6ac15d8f6fde530322b8f050e73bf3 (patch)
tree20d05d2b8c7497a783b9228946f53a251d581113 /src/core/ngx_connection.h
parent954dfd389fb1c672323abf985b761ec3f33640d6 (diff)
downloadnginx-222c9f23bc6ac15d8f6fde530322b8f050e73bf3.tar.gz
nginx-222c9f23bc6ac15d8f6fde530322b8f050e73bf3.tar.bz2
r2561 merge:
ignore EINVAL from setsockopt() on Solaris
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index a2ae690f5..ac8679697 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -71,10 +71,11 @@ struct ngx_listening_s {
typedef enum {
- NGX_ERROR_CRIT = 0,
+ NGX_ERROR_ALERT = 0,
NGX_ERROR_ERR,
NGX_ERROR_INFO,
- NGX_ERROR_IGNORE_ECONNRESET
+ NGX_ERROR_IGNORE_ECONNRESET,
+ NGX_ERROR_IGNORE_EINVAL
} ngx_connection_log_error_e;
@@ -135,7 +136,7 @@ struct ngx_connection_s {
unsigned buffered:8;
- unsigned log_error:2; /* ngx_connection_log_error_e */
+ unsigned log_error:3; /* ngx_connection_log_error_e */
unsigned single_connection:1;
unsigned unexpected_eof:1;