aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Gunzip: removed nginx.h leftover include.Maxim Dounin2012-09-11
|
* Gunzip filter import.Maxim Dounin2012-09-10
|
* Gzip static: "always" parameter in "gzip_static" directive.Maxim Dounin2012-09-10
| | | | | | With "always" gzip static returns gzipped content in all cases, without checking if client supports it. It is useful if there are no uncompressed files on disk anyway.
* Memcached: memcached_gzip_flag directive.Maxim Dounin2012-09-10
| | | | | | | | | | This directive allows to test desired flag as returned by memcached and sets Content-Encoding to gzip if one found. This is reimplementation of patch by Tomash Brechko as available on http://openhack.ru/. It should be a bit more correct though (at least I think so). In particular, it doesn't try to detect if we are able to gunzip data, but instead just sets correct Content-Encoding.
* Write filter: replaced unneeded loop with one to free chains.Maxim Dounin2012-09-05
| | | | Noted by Gabor Lekeny.
* Limit req: fix of rbtree node insertion on hash collisions.Valentin Bartenev2012-09-03
| | | | | | | | | | The rbtree used in ngx_http_limit_req_module has two level of keys, the top is hash, and the next is the value string itself. However, when inserting a new node, only hash has been set, while the value string has been left empty. The bug was introduced in r4419 (1.1.14). Found by Charles Chen.
* Fixed overflow if ngx_slab_alloc() is called with very big "size" argument.Ruslan Ermilov2012-08-30
|
* Fixed strict aliasing bugs when dealing with IPv4-mapped IPv6 addressesRuslan Ermilov2012-08-30
| | | | (closes #201).
* Fixed the "include" directive.Ruslan Ermilov2012-08-28
| | | | | | | The "include" directive should be able to include multiple files if given a filename mask. Fixed this to work for "include" directives inside the "map" or "types" blocks. The "include" directive inside the "geo" block is still not fixed.
* Version bump.Ruslan Ermilov2012-08-27
|
* Radix tree preallocation fix.Maxim Dounin2012-08-18
| | | | | The preallocation size was calculated incorrectly and was always 8 due to sizeof(ngx_radix_tree_t) accidentally used instead of sizeof(ngx_radix_node_t).
* Whitespace fix.Maxim Dounin2012-08-18
|
* Mark logically dead code with corresponding comment.Andrey Belov2012-08-17
| | | | Found by Coverity.
* Mp4: removed restriction to avc1/mp4a formats (ticket #194).Maxim Dounin2012-08-17
|
* Mail: fixed handling of AF_UNIX addresses in "listen".Ruslan Ermilov2012-08-17
| | | | This makes AF_UNIX addresses in mail officially supported.
* Removed a stale "AF_INET only" comment.Ruslan Ermilov2012-08-17
| | | | IPv6 client connections in mail modules have been supported since r2856.
* Mail: fixed sorting of listen addresses (ticket #187).Ruslan Ermilov2012-08-17
| | | | For http module this problem was already fixed in r4756.
* Geo: fixed handling of ranges without default set.Maxim Dounin2012-08-16
| | | | The bug had appeared in 0.8.43 (r3653). Patch by Weibin Yao.
* Crypt: fixed handling of corrupted SSHA entries in password file.Maxim Dounin2012-08-16
| | | | Found by Coverity.
* Map: fixed optimization of variables as values.Maxim Dounin2012-08-16
| | | | | | | Previous code incorrectly used ctx->var_values as an array of pointers to ngx_http_variable_value_t, but the array contains structures, not pointers. Additionally, ctx->var_values inspection failed to properly set var on match.
* mail_core: don't let the well-known port in the "listen" directive toRuslan Ermilov2012-08-15
| | | | override the already set "protocol".
* Corrected the directive name in the ngx_mail_auth_http_module error message.Ruslan Ermilov2012-08-15
|
* Added three missing checks for NULL after ngx_array_push() calls.Valentin Bartenev2012-08-08
| | | | Found by Coverity.
* Explicitly ignore returned value from close() in ngx_event_core_init_conf().Andrey Belov2012-08-07
| | | | | | | | We don't have strong reason to inform about any errors reported by close() call here, and there are no other things to do with its return value. Prodded by Coverity.
* Explicitly ignore returned value from unlink() in ngx_open_tempfile().Andrey Belov2012-08-06
| | | | | | | | The only thing we could potentially do here in case of error returned is to complain to error log, but we don't have log structure available here due to interface limitations. Prodded by Coverity.
* Resolver: fixed possible memory leak in ngx_resolver_create().Maxim Dounin2012-08-06
| | | | Found by Coverity.
* Fixed the -p parameter handling.Ruslan Ermilov2012-08-03
| | | | | Ensure that the path supplied always ends with a `/' except when empty. An empty value now corresponds to the current directory instead of `/'.
* Fixed possible use of old cached times if runtime went backwards.Maxim Dounin2012-08-03
| | | | | | | | | | If ngx_time_sigsafe_update() updated only ngx_cached_err_log_time, and then clock was adjusted backwards, the cached_time[slot].sec might accidentally match current seconds on next ngx_time_update() call, resulting in various cached times not being updated. Fix is to clear the cached_time[slot].sec to explicitly mark cached times are stale and need updating.
* Added "const" to ngx_memcpy() with NGX_MEMCPY_LIMIT defined.Maxim Dounin2012-08-03
| | | | | This fixes warning produced during compilation of the ngx_http_geoip_module due to const qualifier being discarded.
* Whitespace fix.Maxim Dounin2012-08-03
|
* Win32: fixed build with Visual Studio 2005 Express.Maxim Dounin2012-08-02
| | | | | | | | | It is available via winetricks which makes it still usable, and has an old crtdefs.h which uses _CRT_SECURE_NO_DEPRECATE instead of _CRT_SECURE_NO_WARNINGS to suppress warnings. Reported by HAYASHI Kentaro, http://mailman.nginx.org/pipermail/nginx-devel/2012-August/002542.html
* Reorder checks in ngx_shared_memory_add() for more consistent error messages.Andrey Belov2012-08-01
|
* Version bump.Ruslan Ermilov2012-07-31
|
* Core: ipv6only is now on by default.Ruslan Ermilov2012-07-30
| | | | | | | | | | 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.
* ngx_http_find_virtual_server() should return NGX_DECLINED if virtual server notValentin Bartenev2012-07-30
| | | | found.
* Upstream: hide_headers/pass_headers inheritance fix.Maxim Dounin2012-07-30
| | | | | | | | | | | | | | | | | | | Hide headers and pass headers arrays might not be inherited correctly into a nested location, e.g. in configuration like server { proxy_hide_header X-Foo; location / { location /nested/ { proxy_pass_header X-Pad; } } } the X-Foo header wasn't hidden in the location /nested/. Reported by Konstantin Svist, http://mailman.nginx.org/pipermail/nginx-ru/2012-July/047555.html
* Improved diagnostics when a directive is specified in the wrong context.Ruslan Ermilov2012-07-29
|
* Slight optimization in ngx_http_upstream_add(): replaced an expressionRuslan Ermilov2012-07-29
| | | | known to be constant with the constant value.
* ngx_http_upstream_add() should return NULL if an error occurs.Ruslan Ermilov2012-07-29
|
* Reduced the number of preprocessor directives.Ruslan Ermilov2012-07-26
|
* When "debug_connection" is configured with a domain name, only the firstRuslan Ermilov2012-07-24
| | | | resolved address was used. Now all addresses will be used.
* Fixed compilation with -Wmissing-prototypes.Ruslan Ermilov2012-07-24
|
* Win32: fixed cpu hog after process startup failure.Maxim Dounin2012-07-23
| | | | | | | | | | | If ngx_spawn_process() failed while starting a process, the process handle was closed but left non-NULL in the ngx_processes[] array. The handle later was used in WaitForMultipleObjects() (if there were multiple worker processes configured and at least one worker process was started successfully), resulting in infinite loop. Reported by Ricardo V G: http://mailman.nginx.org/pipermail/nginx-devel/2012-July/002494.html
* Fixed debugging messages to account that limit_zone was renamed to limit_conn.Ruslan Ermilov2012-07-20
|
* Fixed sorting of listen addresses so that wildcard address is always atRuslan Ermilov2012-07-17
| | | | | | | the end (closes #187). Failure to do so could result in several listen sockets to be created instead of only one listening on wildcard address. Reported by Roman Odaisky.
* Version bump.Ruslan Ermilov2012-07-17
|
* Entity tags: empty etags handling in If-Range.Maxim Dounin2012-07-09
| | | | | Entity tag may be of length 2 as per RFC 2616, i.e. double quotes only. Pointed out by Ruslan Ermilov.
* Entity tags: the "etag" directive.Maxim Dounin2012-07-09
| | | | | | | It allows to disable generation of nginx's own entity tags, while still handling ETags in cache properly. This may be useful e.g. if one want to serve static files from servers with different ETag generation algorithms.
* Entity tags: set for static respones.Maxim Dounin2012-07-09
|
* Entity tags: handling in add_header.Maxim Dounin2012-07-07
| | | | Notably this allows to clear ETag if one want to for some reason.