]> git.kaiwu.me - nginx.git/commit
*) reset cached dirent.d_type after stat()
authorIgor Sysoev <igor@sysoev.ru>
Wed, 14 Oct 2009 11:33:35 +0000 (11:33 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 14 Oct 2009 11:33:35 +0000 (11:33 +0000)
commite58700d3b08bee27db7206c2eefe858ad0488b4a
treecf325092d4040941f6e028b41a4cc967573d6a23
parente7138540d603336a0f2187d8cf20d24b54ed265e
*) reset cached dirent.d_type after stat()
   this fixes slash after link to a directory in ngx_http_autoindex_module;
*) use cached dirent.d_type as hint on all systems

the issues has been introduced in r2235
src/http/modules/ngx_http_random_index_module.c
src/os/unix/ngx_files.c
src/os/unix/ngx_files.h
src/os/win32/ngx_files.c
src/os/win32/ngx_files.h