comparison src/core/ngx_connection.h @ 146:36af50a5582d NGINX_0_3_20

nginx 0.3.20 *) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form.
author Igor Sysoev <http://sysoev.ru>
date Wed, 11 Jan 2006 00:00:00 +0300
parents 91372f004adf
children 3689cd4e3228
comparison
equal deleted inserted replaced
145:85a84f8da62b 146:36af50a5582d
91 NGX_TCP_NOPUSH_SET, 91 NGX_TCP_NOPUSH_SET,
92 NGX_TCP_NOPUSH_DISABLED 92 NGX_TCP_NOPUSH_DISABLED
93 } ngx_connection_tcp_nopush_e; 93 } ngx_connection_tcp_nopush_e;
94 94
95 95
96 #define NGX_LOWLEVEL_BUFFERED 0x0000000f
97 #define NGX_SSL_BUFFERED 0x00000001
98
99
96 struct ngx_connection_s { 100 struct ngx_connection_s {
97 void *data; 101 void *data;
98 ngx_event_t *read; 102 ngx_event_t *read;
99 ngx_event_t *write; 103 ngx_event_t *write;
100 104
132 136
133 ngx_buf_t *buffer; 137 ngx_buf_t *buffer;
134 138
135 ngx_atomic_uint_t number; 139 ngx_atomic_uint_t number;
136 140
141 ngx_uint_t buffered;
142
137 unsigned log_error:2; /* ngx_connection_log_error_e */ 143 unsigned log_error:2; /* ngx_connection_log_error_e */
138 144
139 unsigned buffered:1;
140 unsigned single_connection:1; 145 unsigned single_connection:1;
141 unsigned unexpected_eof:1; 146 unsigned unexpected_eof:1;
142 unsigned timedout:1; 147 unsigned timedout:1;
143 unsigned error:1; 148 unsigned error:1;
144 unsigned destroyed:1; 149 unsigned destroyed:1;