Welcome! Log In Create A New Profile

Advanced

[nginx] Disable symlinks: removed recursive call of ngx_file_o_p...

Valentin Bartenev
September 02, 2013 12:56PM
details: http://hg.nginx.org/nginx/rev/659464c695b7
branches:
changeset: 5357:659464c695b7
user: Valentin Bartenev <vbart@nginx.com>
date: Mon Sep 02 20:06:03 2013 +0400
description:
Disable symlinks: removed recursive call of ngx_file_o_path_info().

It is surplus.

diffstat:

src/core/ngx_open_file_cache.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r acd51b0f6fd4 -r 659464c695b7 src/core/ngx_open_file_cache.c
--- a/src/core/ngx_open_file_cache.c Mon Sep 02 08:07:59 2013 +0400
+++ b/src/core/ngx_open_file_cache.c Mon Sep 02 20:06:03 2013 +0400
@@ -596,7 +596,6 @@ ngx_file_o_path_info(ngx_fd_t fd, ngx_fi
"switching to fstatat(AT_EMPTY_PATH)");

use_fstat = 0;
- return ngx_file_o_path_info(fd, fi, log);
}

if (ngx_file_at_info(fd, "", fi, AT_EMPTY_PATH) != NGX_FILE_ERROR) {

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Disable symlinks: removed recursive call of ngx_file_o_p...

Valentin Bartenev 1006 September 02, 2013 12:56PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 283
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready