Mercurial > hg > nginx-vendor-0-8
comparison src/http/ngx_http_file_cache.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 | 45fe5b98a9de |
comparison
equal
deleted
inserted
replaced
17:9acb68bb0698 | 18:6f8b0dc0f8dd |
---|---|
7 #include <ngx_config.h> | 7 #include <ngx_config.h> |
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 #if (HAVE_OPENSSL_MD5_H) | 12 #if (NGX_HAVE_OPENSSL_MD5_H) |
13 #include <openssl/md5.h> | 13 #include <openssl/md5.h> |
14 #else | 14 #else |
15 #include <md5.h> | 15 #include <md5.h> |
16 #endif | 16 #endif |
17 | 17 |
18 #if (HAVE_OPENSSL_MD5) | 18 #if (NGX_OPENSSL_MD5) |
19 #define MD5Init MD5_Init | 19 #define MD5Init MD5_Init |
20 #define MD5Update MD5_Update | 20 #define MD5Update MD5_Update |
21 #define MD5Final MD5_Final | 21 #define MD5Final MD5_Final |
22 #endif | 22 #endif |
23 | 23 |
24 | 24 |
25 #if 0 | |
25 | 26 |
26 int ngx_http_cache_get_file(ngx_http_request_t *r, ngx_http_cache_ctx_t *ctx) | 27 int ngx_http_cache_get_file(ngx_http_request_t *r, ngx_http_cache_ctx_t *ctx) |
27 { | 28 { |
28 MD5_CTX md5; | 29 MD5_CTX md5; |
29 | 30 |
235 gc->deleted++; | 236 gc->deleted++; |
236 gc->freed += ngx_de_size(dir); | 237 gc->freed += ngx_de_size(dir); |
237 | 238 |
238 return NGX_OK; | 239 return NGX_OK; |
239 } | 240 } |
241 | |
242 #endif |