diff options
Diffstat (limited to '')
| -rw-r--r-- | src/http/modules/perl/nginx.xs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index 24379ad9e..a8c6cdc06 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -637,11 +637,11 @@ sendfile(r, filename, offset = -1, bytes = 0) } clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - + of.test_dir = 0; - of.retest = clcf->open_file_cache_retest; - of.errors = clcf->open_file_cache_errors; - of.events = clcf->open_file_cache_events; + of.retest = clcf->open_file_cache_retest; + of.errors = clcf->open_file_cache_errors; + of.events = clcf->open_file_cache_events; path.len = ngx_strlen(filename); @@ -651,7 +651,7 @@ sendfile(r, filename, offset = -1, bytes = 0) } (void) ngx_cpystrn(path.data, filename, path.len + 1); - + rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool); if (rc == NGX_ERROR) { |
