comparison src/core/ngx_connection.h @ 2560:a7443674e429

ignore EINVAL from setsockopt() on Solaris
author Igor Sysoev <igor@sysoev.ru>
date Thu, 12 Mar 2009 07:16:15 +0000
parents 2e91aecb9e57
children c352c419be85
comparison
equal deleted inserted replaced
2559:774391e44941 2560:a7443674e429
67 67
68 }; 68 };
69 69
70 70
71 typedef enum { 71 typedef enum {
72 NGX_ERROR_CRIT = 0, 72 NGX_ERROR_ALERT = 0,
73 NGX_ERROR_ERR, 73 NGX_ERROR_ERR,
74 NGX_ERROR_INFO, 74 NGX_ERROR_INFO,
75 NGX_ERROR_IGNORE_ECONNRESET 75 NGX_ERROR_IGNORE_ECONNRESET,
76 NGX_ERROR_IGNORE_EINVAL
76 } ngx_connection_log_error_e; 77 } ngx_connection_log_error_e;
77 78
78 79
79 typedef enum { 80 typedef enum {
80 NGX_TCP_NODELAY_UNSET = 0, 81 NGX_TCP_NODELAY_UNSET = 0,
129 130
130 ngx_atomic_uint_t number; 131 ngx_atomic_uint_t number;
131 132
132 unsigned buffered:8; 133 unsigned buffered:8;
133 134
134 unsigned log_error:2; /* ngx_connection_log_error_e */ 135 unsigned log_error:3; /* ngx_connection_log_error_e */
135 136
136 unsigned single_connection:1; 137 unsigned single_connection:1;
137 unsigned unexpected_eof:1; 138 unsigned unexpected_eof:1;
138 unsigned timedout:1; 139 unsigned timedout:1;
139 unsigned error:1; 140 unsigned error:1;