comparison src/http/modules/ngx_http_index_handler.c @ 18:6f8b0dc0f8dd NGINX_0_1_9

nginx 0.1.9 *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; bug appeared in 0.1.8.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Nov 2004 00:00:00 +0300
parents 46833bd150cb
children 8b6db3bda591
comparison
equal deleted inserted replaced
17:9acb68bb0698 18:6f8b0dc0f8dd
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 #include <ngx_http.h> 9 #include <ngx_http.h>
10 10
11 11
12 typedef struct { 12 typedef struct {
13 ngx_array_t indices; 13 ngx_array_t indices;
14 size_t max_index_len; 14 size_t max_index_len;
15 ngx_http_cache_hash_t *index_cache; 15 ngx_http_cache_hash_t *index_cache;
16 } ngx_http_index_loc_conf_t; 16 } ngx_http_index_loc_conf_t;
17 17
18 18
19 typedef struct { 19 typedef struct {
20 ngx_uint_t index; 20 ngx_uint_t index;
21 u_char *last; 21 u_char *last;
22 ngx_str_t path; 22 ngx_str_t path;
23 ngx_str_t redirect; 23 ngx_str_t redirect;
24 ngx_http_cache_t *cache; 24 ngx_http_cache_entry_t *cache;
25 unsigned tested:1; 25 ngx_uint_t tested; /* unsigned tested:1 */
26 } ngx_http_index_ctx_t; 26 } ngx_http_index_ctx_t;
27 27
28 28
29 #define NGX_HTTP_DEFAULT_INDEX "index.html" 29 #define NGX_HTTP_DEFAULT_INDEX "index.html"
30 30