| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2012-04-03 | In ngx_ptocidr(), check that the supplied prefix length is within | Ruslan Ermilov | 1 | -0/+7 | |
| the allowed range. | |||||
| 2012-04-03 | Fixed spelling in multiline C comments. | Ruslan Ermilov | 5 | -6/+6 | |
| 2012-04-02 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-03-22 | Resolver: added missing sanity checking when creating name queries. | Maxim Dounin | 1 | -1/+5 | |
| Found by Veracode. | |||||
| 2012-03-21 | worker_cpu_affinity: cleaned up Linux implementation, added FreeBSD support. | Ruslan Ermilov | 2 | -11/+11 | |
| 2012-03-15 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-03-05 | Whitespace fixes. | Maxim Dounin | 1 | -1/+1 | |
| 2012-03-05 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-02-28 | Fixed spelling in single-line comments. | Ruslan Ermilov | 1 | -1/+1 | |
| 2012-02-27 | Fix of rbtree lookup on hash collisions. | Maxim Dounin | 2 | -22/+12 | |
| Previous code incorrectly assumed that nodes with identical keys are linked together. This might not be true after tree rebalance. Patch by Lanshun Zhou. | |||||
| 2012-02-27 | Fixed null pointer dereference in resolver (ticket #91). | Maxim Dounin | 1 | -5/+6 | |
| The cycle->new_log.file may not be set before config parsing finished if there are no error_log directive defined at global level. Fix is to copy it after config parsing. Patch by Roman Arutyunyan. | |||||
| 2012-02-27 | Disable symlinks: added the "from" parameter support to the open file cache. | Valentin Bartenev | 2 | -1/+26 | |
| 2012-02-21 | Disable symlinks: use O_SEARCH|O_DIRECTORY to open path components. | Valentin Bartenev | 1 | -30/+14 | |
| 2012-02-21 | Disable symlinks: don't allow creating or truncating a file via a symlink in | Valentin Bartenev | 1 | -1/+3 | |
| the last path component if "if_not_owner" parameter is used. To prevent race condition we have to open a file before checking its owner and there's no way to change access flags for already opened file descriptor, so we disable symlinks for the last path component at all if flags allow creating or truncating the file. | |||||
| 2012-02-21 | Disable symlinks: cleanups once again. | Valentin Bartenev | 1 | -8/+10 | |
| In collaboration with Ruslan Ermilov. | |||||
| 2012-02-20 | Disable symlinks: added explicit cast of AT_FDCWD (ticket #111). | Maxim Dounin | 1 | -4/+4 | |
| 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-20 | Disable symlinks: error handling cleanup again. | Maxim Dounin | 1 | -4/+4 | |
| 2012-02-20 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-02-15 | Disable symlinks: fixed edge cases of path handling. | Maxim Dounin | 1 | -14/+60 | |
| This includes non-absolute pathnames, multiple slashes and trailing slashes. In collaboration with Valentin Bartenev. | |||||
| 2012-02-15 | Disable symlinks: cleanup error handling. | Maxim Dounin | 1 | -41/+70 | |
| Notably this fixes NGX_INVALID_FILE/NGX_FILE_ERROR mess, and adds logging of close() errors. In collaboration with Valentin Bartenev. | |||||
| 2012-02-13 | Added disable_symlinks directive. | Andrey Belov | 3 | -24/+255 | |
| To completely disable symlinks (disable_symlinks on) we use openat(O_NOFOLLOW) for each path component to avoid races. To allow symlinks with the same owner (disable_symlinks if_not_owner), use openat() (followed by fstat()) and fstatat(AT_SYMLINK_NOFOLLOW), and then compare uids between fstat() and fstatat(). As there is a race between openat() and fstatat() we don't know if openat() in fact opened symlink or not. Therefore, we have to compare uids even if fstatat() reports the opened component isn't a symlink (as we don't know whether it was symlink during openat() or not). Default value is off, i.e. symlinks are allowed. | |||||
| 2012-02-13 | Changed ngx_open_and_stat_file() to use ngx_str_t. | Andrey Belov | 1 | -19/+20 | |
| No functional changes. | |||||
| 2012-02-13 | Time parsing cleanup. | Maxim Dounin | 3 | -13/+2 | |
| Nuke NGX_PARSE_LARGE_TIME, it's not used since 0.6.30. The only error ngx_parse_time() can currently return is NGX_ERROR, check it explicitly and make sure to cast it to appropriate type (either time_t or ngx_msec_t) to avoid signedness warnings on platforms with unsigned time_t (notably QNX). | |||||
| 2012-02-09 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-01-30 | Fixed memory leak on HUP signal when PCRE JIT was used. | Valentin Bartenev | 1 | -1/+54 | |
| The PCRE JIT compiler uses mmap to allocate memory for its executable codes, so we have to explicitly call the pcre_free_study() function to free this memory. | |||||
| 2012-01-24 | Fixed grammar in PCRE JIT error log message. | Valentin Bartenev | 1 | -1/+1 | |
| 2012-01-18 | Copyright updated. | Maxim Konovalov | 58 | -0/+58 | |
| 2012-01-18 | Version bump. | Maxim Konovalov | 1 | -2/+2 | |
| 2012-01-16 | Fixed division by zero exception in ngx_hash_init(). | Valentin Bartenev | 1 | -1/+1 | |
| The ngx_hash_init() function did not expect call with zero elements count, which caused FPE error on configs with an empty "types" block in http context and "types_hash_max_size" > 10000. Example configuration to reproduce: events { } http { types_hash_max_size 10001; types {} server {} } | |||||
| 2012-01-10 | Changed ngx_log_debugN() macros to verify the number of arguments | Ruslan Ermilov | 1 | -9/+32 | |
| when built with debugging. | |||||
| 2011-12-27 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2011-12-26 | Added support for regex study and PCRE JIT (ticket #41) optimizations on | Valentin Bartenev | 2 | -7/+216 | |
| configuration phase. | |||||
| 2011-12-19 | Version bump. | Maxim Dounin | 1 | -1/+1 | |
| 2011-12-06 | Removed unused function ngx_regex_capture_count(). | Valentin Bartenev | 1 | -17/+0 | |
| The function has been unused since r3326. | |||||
| 2011-12-06 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2011-12-05 | Added the "so_keepalive=" parameter to the "listen" directive. | Valentin Bartenev | 2 | -0/+57 | |
| The "so_keepalive" directive in mail module was deprecated. Thanks to Vsevolod Stakhov for initial work. | |||||
| 2011-11-29 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2011-11-28 | Added (void) as we intentionally ignore returned values. | Maxim Dounin | 1 | -1/+1 | |
| Requested by Igor Sysoev. | |||||
| 2011-11-25 | Added escaping of double quotes in ngx_escape_html(). | Maxim Dounin | 1 | -0/+9 | |
| Patch by Zaur Abasmirzoev. | |||||
| 2011-11-23 | Fixed build without atomic operations. | Maxim Dounin | 1 | -2/+2 | |
| 2011-11-23 | Added shmtx interface to forcibly unlock mutexes. | Maxim Dounin | 4 | -47/+83 | |
| It is currently used from master process on abnormal worker termination to unlock accept mutex (unlocking of accept mutex was broken in 1.0.2). It is expected to be used in the future to unlock other mutexes as well. Shared mutex code was rewritten to make this possible in a safe way, i.e. with a check if lock was actually held by the exited process. We again use pid to lock mutex, and use separate atomic variable for a count of processes waiting in sem_wait(). | |||||
| 2011-11-16 | Silenced a warning for some compilers. | Ruslan Ermilov | 1 | -0/+1 | |
| 2011-11-16 | Now nginx uses TTL of a DNS response when calculating cache validity. | Ruslan Ermilov | 1 | -6/+38 | |
| Previously it used a hardcoded value of 300 seconds. Also added the "valid=" parameter to the "resolver" directive that can be used to override the cache validity time. Patch by Kirill A. Korinskiy with minor changes. | |||||
| 2011-11-15 | Fixed handling of SIGWINCH/NOACCEPT signal. | Maxim Dounin | 1 | -0/+4 | |
| After first upgrade it was ignored since r4020 (1.1.1, 1.0.9) as ngx_daemonized wasn't set. | |||||
| 2011-11-15 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2011-11-14 | Introduction of simple ngx_write_stderr() instead of ngx_log_stderr() | Igor Sysoev | 2 | -18/+36 | |
| for output of ./configure options, etc., since ngx_log_stderr() output length is limited by 2048 characters defined as NGX_MAX_ERROR_STR. | |||||
| 2011-11-14 | Reverted incorrect change in internal md5 (part of r3928). | Maxim Dounin | 1 | -1/+2 | |
| 2011-11-09 | Fixed compression pointer processing in DNS response greater than 255 bytes. | Igor Sysoev | 1 | -7/+7 | |
| Thanks to Ben Hawkes. | |||||
| 2011-11-01 | Version bump. | Igor Sysoev | 1 | -2/+2 | |
| 2011-10-25 | Fixed port range checking. | Ruslan Ermilov | 1 | -3/+3 | |
