comparison src/http/ngx_http_request.h @ 272:29a6403156b0 NGINX_0_5_6

nginx 0.5.6 *) Change: now the ngx_http_index_module ignores all methods except the GET, HEAD, and POST methods. *) Feature: the ngx_http_limit_zone_module. *) Feature: the $binary_remote_addr variable. *) Feature: the "ssl_session_cache" directives of the ngx_http_ssl_module and ngx_imap_ssl_module. *) Feature: the DELETE method supports recursive removal. *) Bugfix: the byte-ranges were transferred incorrectly if the $r->sendfile() was used.
author Igor Sysoev <http://sysoev.ru>
date Tue, 09 Jan 2007 00:00:00 +0300
parents 2e9c57a5e50a
children c5c2b2883984
comparison
equal deleted inserted replaced
271:fcbee7dacf2b 272:29a6403156b0
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;
435 * we use the single bit in the request structure 427 * we use the single bit in the request structure
436 */ 428 */
437 unsigned realip_set:1; 429 unsigned realip_set:1;
438 430
439 #endif 431 #endif
432
433 /*
434 * instead of using the request context data in ngx_http_limit_zone_module
435 * we use the single bit in the request structure
436 */
437 unsigned limit_zone_set:1;
440 438
441 #if 0 439 #if 0
442 unsigned cachable:1; 440 unsigned cachable:1;
443 #endif 441 #endif
444 442