comparison src/core/ngx_connection.h @ 829:362d156f0278

high level HTTP buffered flags should be on per-subrequest basis, this fix a bug in SSI when a big static file is included
author Igor Sysoev <igor@sysoev.ru>
date Mon, 30 Oct 2006 20:25:22 +0000
parents 5e8fb59c18c1
children 03f1133f24e8
comparison
equal deleted inserted replaced
828:597c83dad983 829:362d156f0278
90 NGX_TCP_NOPUSH_SET, 90 NGX_TCP_NOPUSH_SET,
91 NGX_TCP_NOPUSH_DISABLED 91 NGX_TCP_NOPUSH_DISABLED
92 } ngx_connection_tcp_nopush_e; 92 } ngx_connection_tcp_nopush_e;
93 93
94 94
95 #define NGX_LOWLEVEL_BUFFERED 0x0000000f 95 #define NGX_LOWLEVEL_BUFFERED 0x0f
96 #define NGX_SSL_BUFFERED 0x00000001 96 #define NGX_SSL_BUFFERED 0x01
97 97
98 98
99 struct ngx_connection_s { 99 struct ngx_connection_s {
100 void *data; 100 void *data;
101 ngx_event_t *read; 101 ngx_event_t *read;
131 131
132 ngx_buf_t *buffer; 132 ngx_buf_t *buffer;
133 133
134 ngx_atomic_uint_t number; 134 ngx_atomic_uint_t number;
135 135
136 ngx_uint_t buffered; 136 unsigned buffered:8;
137 137
138 unsigned log_error:2; /* ngx_connection_log_error_e */ 138 unsigned log_error:2; /* ngx_connection_log_error_e */
139 139
140 unsigned single_connection:1; 140 unsigned single_connection:1;
141 unsigned unexpected_eof:1; 141 unsigned unexpected_eof:1;