comparison src/http/ngx_http_request.h @ 963:78e70dae89f0

move ranges array to ngx_http_range_filter_ctx_t
author Igor Sysoev <igor@sysoev.ru>
date Fri, 29 Dec 2006 08:02:31 +0000
parents 9ddb57468082
children dd128232e6ba
comparison
equal deleted inserted replaced
962:69754fb59ba1 963:78e70dae89f0
213 unsigned konqueror:1; 213 unsigned konqueror:1;
214 } ngx_http_headers_in_t; 214 } ngx_http_headers_in_t;
215 215
216 216
217 typedef struct { 217 typedef struct {
218 off_t start;
219 off_t end;
220 ngx_str_t content_range;
221 } ngx_http_range_t;
222
223
224 typedef struct {
225 ngx_list_t headers; 218 ngx_list_t headers;
226 219
227 ngx_uint_t status; 220 ngx_uint_t status;
228 ngx_str_t status_line; 221 ngx_str_t status_line;
229 222
243 236
244 size_t content_type_len; 237 size_t content_type_len;
245 ngx_str_t content_type; 238 ngx_str_t content_type;
246 ngx_str_t charset; 239 ngx_str_t charset;
247 240
248 ngx_array_t ranges;
249 ngx_array_t cache_control; 241 ngx_array_t cache_control;
250 242
251 off_t content_length_n; 243 off_t content_length_n;
252 time_t date_time; 244 time_t date_time;
253 time_t last_modified_time; 245 time_t last_modified_time;