| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2012-07-30 | Core: ipv6only is now on by default. | Ruslan Ermilov | 2 | -3/+3 | |
| There is a general consensus that this change results in better consistency between different operating systems and differently tuned operating systems. Note: this changes the width and meaning of the ipv6only field of the ngx_listening_t structure. 3rd party modules that create their own listening sockets might need fixing. | |||||
| 2012-07-29 | Improved diagnostics when a directive is specified in the wrong context. | Ruslan Ermilov | 2 | -22/+15 | |
| 2012-07-26 | Reduced the number of preprocessor directives. | Ruslan Ermilov | 1 | -5/+1 | |
| 2012-07-24 | Fixed compilation with -Wmissing-prototypes. | Ruslan Ermilov | 2 | -0/+5 | |
| 2012-07-17 | Version bump. | Ruslan Ermilov | 1 | -2/+2 | |
| 2012-07-03 | Fixed typo in a function name. | Ruslan Ermilov | 2 | -4/+4 | |
| 2012-06-29 | Version bump. | Ruslan Ermilov | 1 | -2/+2 | |
| 2012-06-18 | Fixed handling of conflicting wildcard server names. | Maxim Dounin | 1 | -11/+13 | |
| With previous code wildcard names were added to hash even if conflict was detected. This resulted in identical names in hash and segfault later in ngx_hash_wildcard_init(). | |||||
| 2012-06-18 | When "resolver" is configured with a domain name, only the first | Ruslan Ermilov | 1 | -6/+8 | |
| resolved address was used. Now all addresses will be used. | |||||
| 2012-06-18 | Fixed crash in ngx_resolver_cleanup_tree(). | Ruslan Ermilov | 1 | -4/+3 | |
| If sending a DNS request fails with an error (e.g., when mistakenly trying to send it to a local IP broadcast), such a request is not deleted if there are clients waiting on it. However, it was still erroneously removed from the queue. Later ngx_resolver_cleanup_tree() attempted to remove it from the queue again that resulted in a NULL pointer dereference. | |||||
| 2012-06-18 | Version bump. | Ruslan Ermilov | 1 | -2/+2 | |
| 2012-06-04 | Support for IPv6 literals and an optional port in resolver. | Ruslan Ermilov | 1 | -5/+5 | |
| 2012-06-04 | Support for IPv6 literals in proxy_pass and so on. | Maxim Dounin | 1 | -7/+30 | |
| 2012-06-03 | Resolver: fixed format specification. | Maxim Dounin | 1 | -1/+1 | |
| Patch by Yichun Zhang (agentzh). | |||||
| 2012-06-01 | Code reduction (no functional changes). | Ruslan Ermilov | 1 | -19/+2 | |
| 2012-05-22 | Fixed potential null pointer dereference in ngx_resolver_create(). | Ruslan Ermilov | 1 | -1/+6 | |
| While here, improved error message. | |||||
| 2012-05-21 | Removed historical and now redundant syntax pre-checks in ngx_parse_url(). | Ruslan Ermilov | 1 | -5/+0 | |
| 2012-05-17 | Fixed the ngx_regex.h header file compatibility with C++. | Valentin Bartenev | 2 | -5/+5 | |
| 2012-05-16 | Version bump. | Ruslan Ermilov | 1 | -2/+2 | |
| 2012-05-14 | Resolver: protection from duplicate responses. | Maxim Dounin | 1 | -2/+10 | |
| If we already had CNAME in resolver node (i.e. rn->cnlen and rn->u.cname set), and got additional response with A record, it resulted in rn->cnlen set and rn->u.cname overwritten by rn->u.addr (or rn->u.addrs), causing segmentation fault later in ngx_resolver_free_node() on an attempt to free overwritten rn->u.cname. The opposite (i.e. CNAME got after A) might cause similar problems as well. | |||||
| 2012-04-26 | Fixed segmentation fault in ngx_resolver_create_name_query(). | Ruslan Ermilov | 1 | -0/+4 | |
| If name passed for resolution was { 0, NULL } (e.g. as a result of name server returning CNAME pointing to ".") pointer wrapped to (void *) -1 resulting in segmentation fault on an attempt to dereference it. Reported by Lanshun Zhou. | |||||
| 2012-04-26 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-04-23 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-04-23 | Fix of "%f" format handling. | Igor Sysoev | 1 | -16/+19 | |
| ngx_sprintf("%.2f", 0.999) incorrectly resulted in "0.100" instead of "1.00". | |||||
| 2012-04-18 | Don't silently ignore the last line of configuration file that | Ruslan Ermilov | 1 | -1/+1 | |
| consists solely of one unterminated token (inspired by #150). | |||||
| 2012-04-12 | Fixed grammar in error messages. | Ruslan Ermilov | 2 | -2/+3 | |
| 2012-04-12 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2012-04-12 | Reduced the number of lines of code in ngx_inet_addr(). | Ruslan Ermilov | 1 | -5/+1 | |
| 2012-04-11 | Improved readability of the code that produces bitmask from prefix. | Ruslan Ermilov | 1 | -2/+2 | |
| In collaboration with Maxim Dounin. | |||||
| 2012-04-06 | Fixed signed integer overflows in timer code (ticket #145). | Maxim Dounin | 1 | -2/+1 | |
| Integer overflow is undefined behaviour in C and this indeed caused problems on Solaris/SPARC (at least in some cases). Fix is to subtract unsigned integers instead, and then cast result to a signed one, which is implementation-defined behaviour and used to work. Strictly speaking, we should compare (unsigned) result with the maximum value of the corresponding signed integer type instead, this will be defined behaviour. This will require much more changes though, and considered to be overkill for now. | |||||
| 2012-04-05 | Comment fixed. | Andrey Belov | 1 | -1/+1 | |
| 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. | |||||
