Mercurial > hg > nginx
comparison src/http/modules/perl/nginx.xs @ 4478:08713bac87fc
Support for disable_symlinks in various modules.
author | Andrey Belov <defan@nginx.com> |
---|---|
date | Mon, 13 Feb 2012 16:32:21 +0000 |
parents | d620f497c50f |
children | 13e09cf11d4e |
comparison
equal
deleted
inserted
replaced
4477:7033faf6dc3c | 4478:08713bac87fc |
---|---|
660 of.directio = clcf->directio; | 660 of.directio = clcf->directio; |
661 of.valid = clcf->open_file_cache_valid; | 661 of.valid = clcf->open_file_cache_valid; |
662 of.min_uses = clcf->open_file_cache_min_uses; | 662 of.min_uses = clcf->open_file_cache_min_uses; |
663 of.errors = clcf->open_file_cache_errors; | 663 of.errors = clcf->open_file_cache_errors; |
664 of.events = clcf->open_file_cache_events; | 664 of.events = clcf->open_file_cache_events; |
665 #if (NGX_HAVE_OPENAT) | |
666 of.disable_symlinks = clcf->disable_symlinks; | |
667 #endif | |
665 | 668 |
666 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) | 669 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) |
667 != NGX_OK) | 670 != NGX_OK) |
668 { | 671 { |
669 if (of.err == 0) { | 672 if (of.err == 0) { |