Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-22 | Cache: introduced min_free cache clearing. | Maxim Dounin | |
Clearing cache based on free space left on a file system is expected to allow better disk utilization in some cases, notably when disk space might be also used for something other than nginx cache (including nginx own temporary files) and while loading cache (when cache size might be inaccurate for a while, effectively disabling max_size cache clearing). Based on a patch by Adam Bambuch. | |||
2018-12-24 | Win32: removed NGX_DIR_MASK concept. | Maxim Dounin | |
Previous interface of ngx_open_dir() assumed that passed directory name has a room for NGX_DIR_MASK at the end (NGX_DIR_MASK_LEN bytes). While all direct users of ngx_dir_open() followed this interface, this also implied similar requirements for indirect uses - in particular, via ngx_walk_tree(). Currently none of ngx_walk_tree() uses provides appropriate space, and fixing this does not look like a right way to go. Instead, ngx_dir_open() interface was changed to not require any additional space and use appropriate allocations instead. | |||
2015-06-16 | Core: added support for writing to stdout. | Vladimir Homutov | |
2014-07-05 | Win32: ngx_open_dir() and ngx_close_dir() fixes. | Maxim Dounin | |
The ngx_open_dir() function changed to restore name passed to it. This fixes removing destination directory in dav module, as caught by dav.t. The ngx_close_dir() function introduced to properly convert errors, as FindClose() returns 0 on error. | |||
2013-09-23 | Added ngx_filename_cmp() with "/" sorted to the left. | Maxim Dounin | |
This patch fixes incorrect handling of auto redirect in configurations like: location /0 { } location /a- { } location /a/ { proxy_pass ... } With previously used sorting, this resulted in the following locations tree (as "-" is less than "/"): "/a-" "/0" "/a/" and a request to "/a" didn't match "/a/" with auto_redirect, as it didn't traverse relevant tree node during lookup (it tested "/a-", then "/0", and then falled back to null location). To preserve locale use for non-ASCII characters on case-insensetive systems, libc's tolower() used. | |||
2012-03-28 | Fixed win32 build after realpath changes in r4559. | Maxim Dounin | |
2012-03-27 | Fixed unconditional MAX_PATH usage (ticket #22). | Maxim Dounin | |
POSIX doesn't require it to be defined, and Debian GNU/Hurd doesn't define it. Note that if there is no MAX_PATH defined we have to use realpath() with NULL argument and free() the result. | |||
2012-01-18 | Copyright updated. | Maxim Konovalov | |
2011-11-14 | Introduction of simple ngx_write_stderr() instead of ngx_log_stderr() | Igor Sysoev | |
for output of ./configure options, etc., since ngx_log_stderr() output length is limited by 2048 characters defined as NGX_MAX_ERROR_STR. | |||
2011-07-24 | elimination of reading cache files by cache loader | Igor Sysoev | |
2011-04-22 | Use more precise stat.st_blocks to account cache size on Unix | Igor Sysoev | |
instead of file length rounded to a file system block size. There is no similar way on Windows, so rounding to a cache->bsize is kept. | |||
2010-06-29 | ngx_create_file_mapping() | Igor Sysoev | |
2010-04-22 | use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks | Igor Sysoev | |
2010-04-21 | use non-blocking open() not to hang on FIFO files, etc. | Igor Sysoev | |
2009-12-15 | fix Win32 error messages when an temporary file replaces an existent file: | Igor Sysoev | |
*) do not rename an already renamed file *) now ngx_win32_rename_file() returns error code *) do not log failure inside ngx_win32_rename_file() | |||
2009-10-14 | *) reset cached dirent.d_type after stat() | Igor Sysoev | |
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 | |||
2009-09-30 | read_ahead | Igor Sysoev | |
2009-07-14 | use caseless regex locations on caseless filesystems: MacOSX, Win32, Cygwin | Igor Sysoev | |
2009-04-28 | introduce ngx_write_console() to support OEM code pages | Igor Sysoev | |
2009-04-27 | -p and --prefix= | Igor Sysoev | |
2009-04-23 | ngx_path_separator() | Igor Sysoev | |
2009-04-23 | issue start up errors and warning on both stderr and error_log | Igor Sysoev | |
2009-04-08 | delete win32 ngx_file_append_mode() as we use reliable | Igor Sysoev | |
FILE_APPEND_DATA|SYNCHRONIZE flags | |||
2009-04-08 | adopt NGX_FILE_TRUNCATE for win32 | Igor Sysoev | |
2009-03-30 | win32 ngx_open_file() supports utf8 names and NGX_FILE_APPEND | Igor Sysoev | |
2009-03-30 | ngx_fs_bsize() | Igor Sysoev | |
2009-03-23 | a prelimiary proxy cache support | Igor Sysoev | |
2009-01-21 | fix win32 ngx_is_dir(), etc | Igor Sysoev | |
2008-09-27 | $realpath_root | Igor Sysoev | |
2008-09-12 | disable directio for unaligned reads in Linux | Igor Sysoev | |
2008-09-05 | *) autoconfigure struct dirent capabilities | Igor Sysoev | |
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and delete src/os/.../ngx_types.h | |||
2008-09-05 | style fix | Igor Sysoev | |
2008-08-04 | fix building by msvc8 introduced in r2127 | Igor Sysoev | |
2008-08-04 | fix building by bcc broken in r2130 | Igor Sysoev | |
2008-07-30 | directio | Igor Sysoev | |
2008-07-29 | case insensitive file system location support provided by locale only | Igor Sysoev | |
2008-04-29 | ignore glob no match error | Igor Sysoev | |
2007-12-07 | use malloc() in ngx_win32_rename_file, set crit level instead of error | Igor Sysoev | |
2007-11-11 | fix win32 ngx_read_fd() and ngx_write_fd() | Igor Sysoev | |
2007-11-11 | fix win32 glob | Igor Sysoev | |
2007-08-30 | win32 ngx_is_exec() stub | Igor Sysoev | |
2007-01-29 | use ngx_dir_access() to enable search bits for directory | Igor Sysoev | |
2007-01-18 | ngx_read_fd() | Igor Sysoev | |
2007-01-18 | NGX_FILE_WRONLY | Igor Sysoev | |
2007-01-18 | ngx_file_access() and ngx_de_access() | Igor Sysoev | |
2007-01-18 | add comment | Igor Sysoev | |
2007-01-18 | axe unused code | Igor Sysoev | |
2007-01-18 | ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access) | Igor Sysoev | |
2007-01-18 | style fix | Igor Sysoev | |
2007-01-18 | rename mode to access | Igor Sysoev | |