| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-03-14 | Added support for offloading read() in thread pools. | Valentin Bartenev | 1 | -0/+5 | |
| 2015-02-11 | Refactored sendfile() AIO preload. | Valentin Bartenev | 1 | -0/+1 | |
| This reduces layering violation and simplifies the logic of AIO preread, since it's now triggered by the send chain function itself without falling back to the copy filter. The context of AIO operation is now stored per file buffer, which makes it possible to properly handle cases when multiple buffers come from different locations, each with its own configuration. | |||||
| 2014-03-31 | Added #ifndef around NGX_HAVE_CASELESS_FILESYSTEM define. | Maxim Dounin | 1 | -0/+2 | |
| This brings Cygwin compilation in line with other case-insensitive systems (notably win32 and OS X) where one can force case sensitivity using -DNGX_HAVE_CASELESS_FILESYSTEM=0. | |||||
| 2013-09-23 | Added ngx_filename_cmp() with "/" sorted to the left. | Maxim Dounin | 1 | -11/+0 | |
| 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. | |||||
| 2013-09-02 | Disable symlinks: use O_PATH to open path components. | Valentin Bartenev | 1 | -0/+3 | |
| It was introduced in Linux 2.6.39, glibc 2.14 and allows to obtain file descriptors without actually opening files. Thus made it possible to traverse path with openat() syscalls without the need to have read permissions for path components. It is effectively emulates O_SEARCH which is missing on Linux. O_PATH is used in combination with O_RDONLY. The last one is ignored if O_PATH is used, but it allows nginx to not fail when it was built on modern system (i.e. glibc 2.14+) and run with a kernel older than 2.6.39. Then O_PATH is unknown to the kernel and ignored, while O_RDONLY is used. Sadly, fstat() is not working with O_PATH descriptors till Linux 3.6. As a workaround we fallback to fstatat() with the AT_EMPTY_PATH flag that was introduced at the same time as O_PATH. | |||||
| 2013-07-05 | Make macros safe. | Gleb Smirnoff | 1 | -5/+5 | |
| 2012-03-27 | Fixed unconditional MAX_PATH usage (ticket #22). | Maxim Dounin | 1 | -1/+12 | |
| 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-02-28 | Workaround for fs_size on ZFS (ticket #46). | Maxim Dounin | 1 | -2/+3 | |
| ZFS reports incorrect st_blocks until file settles on disk, and this may take a while (i.e. just after creation of a file the st_blocks value is incorrect). As a workaround we now use st_blocks only if st_blocks * 512 > st_size, this should fix ZFS problems while still preserving accuracy for other filesystems. The problem had appeared in r3900 (1.0.1). | |||||
| 2012-02-21 | Disable symlinks: use O_SEARCH|O_DIRECTORY to open path components. | Valentin Bartenev | 1 | -0/+17 | |
| 2012-02-20 | Disable symlinks: added explicit cast of AT_FDCWD (ticket #111). | Maxim Dounin | 1 | -0/+2 | |
| Solaris has AT_FDCWD defined to unsigned value, and comparison of a file descriptor with it causes warnings in modern versions of gcc. Explicitly cast AT_FDCWD to ngx_fd_t to resolve these warnings. | |||||
| 2012-02-13 | Added openat()/fstatat(). | Andrey Belov | 1 | -0/+19 | |
| 2012-01-18 | Copyright updated. | Maxim Konovalov | 1 | -0/+1 | |
| 2011-11-14 | Introduction of simple ngx_write_stderr() instead of ngx_log_stderr() | Igor Sysoev | 1 | -0/+1 | |
| 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 | 1 | -0/+1 | |
| 2011-04-22 | Use more precise stat.st_blocks to account cache size on Unix | Igor Sysoev | 1 | -0/+1 | |
| 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 | 1 | -0/+13 | |
| 2010-04-22 | use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks | Igor Sysoev | 1 | -0/+3 | |
| 2010-04-21 | use non-blocking open() not to hang on FIFO files, etc. | Igor Sysoev | 1 | -0/+1 | |
| 2009-11-15 | fix posix_fadvise() error handling | Igor Sysoev | 1 | -1/+1 | |
| 2009-11-05 | export aio presence knowledge to prevent using "aio sendfile", | Igor Sysoev | 1 | -0/+2 | |
| if aio does not present | |||||
| 2009-11-03 | fix "if (!-x ...)" | Igor Sysoev | 1 | -1/+1 | |
| 2009-10-14 | *) reset cached dirent.d_type after stat() | Igor Sysoev | 1 | -14/+13 | |
| 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 | 1 | -0/+22 | |
| 2009-08-28 | FreeBSD and Linux AIO support | Igor Sysoev | 1 | -0/+8 | |
| 2009-06-11 | style fix | Igor Sysoev | 1 | -6/+6 | |
| 2009-04-28 | introduce ngx_write_console() to support OEM code pages | Igor Sysoev | 1 | -0/+4 | |
| 2009-04-27 | -p and --prefix= | Igor Sysoev | 1 | -1/+1 | |
| 2009-04-23 | ngx_path_separator() | Igor Sysoev | 1 | -0/+2 | |
| 2009-04-23 | issue start up errors and warning on both stderr and error_log | Igor Sysoev | 1 | -1/+5 | |
| 2009-04-08 | adopt NGX_FILE_TRUNCATE for win32 | Igor Sysoev | 1 | -1/+1 | |
| 2009-03-31 | Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are set | Igor Sysoev | 1 | -1/+1 | |
| without any other flags. On the other hand, Unix requires at least the write flag to be set together with O_APPEND. | |||||
| 2009-03-30 | ngx_fs_bsize() | Igor Sysoev | 1 | -0/+3 | |
| 2009-03-23 | a prelimiary proxy cache support | Igor Sysoev | 1 | -0/+1 | |
| 2009-03-06 | XFS on Linux does not set dirent.d_type, | Igor Sysoev | 1 | -0/+15 | |
| therefore fallback to stat() if dirent.d_type is not set, this fixes slash after directory name in ngx_http_autoindex_module; the issue has been introduced in r2235 | |||||
| 2008-11-11 | compatibility with glibc 2.3, warn_unused_result attribute for write() | Igor Sysoev | 1 | -1/+11 | |
| 2008-09-27 | $realpath_root | Igor Sysoev | 1 | -0/+2 | |
| 2008-09-12 | disable directio for unaligned reads in Linux | Igor Sysoev | 1 | -8/+11 | |
| 2008-09-05 | *) autoconfigure struct dirent capabilities | Igor Sysoev | 1 | -12/+39 | |
| *) 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 | 1 | -5/+5 | |
| 2008-08-15 | fix log message | Igor Sysoev | 1 | -0/+4 | |
| 2008-08-04 | Solaris directio() | Igor Sysoev | 1 | -0/+5 | |
| 2008-07-30 | directio | Igor Sysoev | 1 | -0/+18 | |
| 2008-07-29 | case insensitive file system location support provided by locale only | Igor Sysoev | 1 | -0/+12 | |
| 2008-04-29 | ignore glob no match error | Igor Sysoev | 1 | -4/+5 | |
| 2008-04-24 | Cygwin O_BINARY mode | Igor Sysoev | 1 | -0/+10 | |
| 2007-01-29 | use ngx_dir_access() to enable search bits for directory | Igor Sysoev | 1 | -0/+3 | |
| 2007-01-18 | ngx_read_fd() | Igor Sysoev | 1 | -0/+5 | |
| 2007-01-18 | NGX_FILE_WRONLY | Igor Sysoev | 1 | -0/+1 | |
| 2007-01-18 | ngx_file_access() and ngx_de_access() | Igor Sysoev | 1 | -0/+2 | |
| 2007-01-18 | ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access) | Igor Sysoev | 1 | -2/+4 | |
