mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Disable symlinks: removed recursive call of ngx_file_o_path_info().
It is surplus.
This commit is contained in:
parent
7b37384140
commit
42910391cd
@ -596,7 +596,6 @@ ngx_file_o_path_info(ngx_fd_t fd, ngx_file_info_t *fi, ngx_log_t *log)
|
|||||||
"switching to fstatat(AT_EMPTY_PATH)");
|
"switching to fstatat(AT_EMPTY_PATH)");
|
||||||
|
|
||||||
use_fstat = 0;
|
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) {
|
if (ngx_file_at_info(fd, "", fi, AT_EMPTY_PATH) != NGX_FILE_ERROR) {
|
||||||
|
Loading…
Reference in New Issue
Block a user