Skip to content

Commit

Permalink
ngx_slowfs_cache-1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrSikora committed Jan 10, 2010
1 parent cae3cd9 commit 258d4a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES
@@ -1,2 +1,6 @@
2009-12-22 VERSION 1.1
* Fix build for nginx versions older than 0.8.18 (this includes 0.7.x line).
Reported by Sergey A. Osokin.

2009-12-21 VERSION 1.0
* Initial release
2 changes: 2 additions & 0 deletions ngx_http_slowfs_module.c
Expand Up @@ -224,7 +224,9 @@ ngx_http_slowfs_static_send(ngx_http_request_t *r)

ngx_memzero(&of, sizeof(ngx_open_file_info_t));

#if (nginx_version >= 8018)
of.read_ahead = clcf->read_ahead;
#endif
of.directio = clcf->directio;
of.valid = clcf->open_file_cache_valid;
of.min_uses = clcf->open_file_cache_min_uses;
Expand Down

0 comments on commit 258d4a3

Please sign in to comment.