Mercurial > hg > nginx
comparison src/http/modules/ngx_http_index_handler.c @ 469:2ff194b74f1e release-0.1.9
nginx-0.1.9-RELEASE import
*) 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; the bug had appeared in
0.1.8.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 16:17:31 +0000 |
parents | a88a3e4e158f |
children | 8e8f3af115b5 |
comparison
equal
deleted
inserted
replaced
468:1a67596d0349 | 469:2ff194b74f1e |
---|---|
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 |