Mercurial > hg > nginx
comparison src/core/ngx_connection.h @ 2653:567028e737cc stable-0.6
r2561 merge:
ignore EINVAL from setsockopt() on Solaris
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 01 Apr 2009 16:42:09 +0000 |
parents | 03f1133f24e8 |
children | 0ea35a84c72d |
comparison
equal
deleted
inserted
replaced
2652:2a06634cd7bf | 2653:567028e737cc |
---|---|
69 | 69 |
70 }; | 70 }; |
71 | 71 |
72 | 72 |
73 typedef enum { | 73 typedef enum { |
74 NGX_ERROR_CRIT = 0, | 74 NGX_ERROR_ALERT = 0, |
75 NGX_ERROR_ERR, | 75 NGX_ERROR_ERR, |
76 NGX_ERROR_INFO, | 76 NGX_ERROR_INFO, |
77 NGX_ERROR_IGNORE_ECONNRESET | 77 NGX_ERROR_IGNORE_ECONNRESET, |
78 NGX_ERROR_IGNORE_EINVAL | |
78 } ngx_connection_log_error_e; | 79 } ngx_connection_log_error_e; |
79 | 80 |
80 | 81 |
81 typedef enum { | 82 typedef enum { |
82 NGX_TCP_NODELAY_UNSET = 0, | 83 NGX_TCP_NODELAY_UNSET = 0, |
133 | 134 |
134 ngx_atomic_uint_t number; | 135 ngx_atomic_uint_t number; |
135 | 136 |
136 unsigned buffered:8; | 137 unsigned buffered:8; |
137 | 138 |
138 unsigned log_error:2; /* ngx_connection_log_error_e */ | 139 unsigned log_error:3; /* ngx_connection_log_error_e */ |
139 | 140 |
140 unsigned single_connection:1; | 141 unsigned single_connection:1; |
141 unsigned unexpected_eof:1; | 142 unsigned unexpected_eof:1; |
142 unsigned timedout:1; | 143 unsigned timedout:1; |
143 unsigned error:1; | 144 unsigned error:1; |