]> git.kaiwu.me - nginx.git/log
nginx.git
14 years agonginx-1.0.6-RELEASE release-1.0.6
Igor Sysoev [Mon, 29 Aug 2011 14:28:23 +0000 (14:28 +0000)]
nginx-1.0.6-RELEASE

14 years agoMerge of r4016:
Igor Sysoev [Mon, 29 Aug 2011 14:13:46 +0000 (14:13 +0000)]
Merge of r4016:

Fix ignored headers handling in fastcgi/scgi/uwsgi.

The bug had appeared in r3561 (fastcgi), r3638 (scgi), r3567 (uwsgi).

14 years agoGetting rid of " <br/>" hacks.
Igor Sysoev [Mon, 29 Aug 2011 14:03:06 +0000 (14:03 +0000)]
Getting rid of " <br/>" hacks.

14 years agoCHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev [Mon, 29 Aug 2011 14:02:15 +0000 (14:02 +0000)]
CHANGES conversion from KOI8-R to UTF-8.

14 years agoMerge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
Igor Sysoev [Mon, 29 Aug 2011 13:57:43 +0000 (13:57 +0000)]
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:

Changes log build procedure fixes:

*) using sed instead of perl
*) support <br/> in the middle of input
*) fixed "<br>" lookup (eliminates the need in " <br/>" hacks)
*) fixed maximum length for unbreakable input
*) fixed space lookup (allows a space at column 77 to break a line)
*) traling spaces removal in text CHANGES files.

14 years agoMerge of r4018:
Igor Sysoev [Mon, 29 Aug 2011 13:11:47 +0000 (13:11 +0000)]
Merge of r4018:

Fix buffer overrun under Windows.

14 years agoMerge of r3964, r3977, r3978:
Igor Sysoev [Mon, 29 Aug 2011 12:56:09 +0000 (12:56 +0000)]
Merge of r3964, r3977, r3978:

Proxy related fixes:

*) finalizing with rc == 0 in unbuffered proxy mode caused nginx to wait
   for another send_timeout before actually closing client's connection
   if client timed out while still talking to upstream server
*) update r3945 with more descriptive error message
*) test length of proxy_pass with variables;
   patch by Lanshun Zhou

14 years agoMerge of r4004, r4005:
Igor Sysoev [Mon, 29 Aug 2011 12:50:35 +0000 (12:50 +0000)]
Merge of r4004, r4005:

Solaris related fixes:

*) Detect POSIX semaphores in librt on Solaris (ticket #3).
   Patch by Denis Ivanov.
*) Lower optimization level for Sun Studio before 12.1.
   At least Sun Studio 12 has problems with bit-fields exposed by nginx code
   (caught by test suite).  They seems to be fixed in Sun Studio 12.1.  As a
   workaround use "-fast -xalias_level=any" for older versions, it resolves
   the problem.

14 years agoMerge of r4003:
Igor Sysoev [Mon, 29 Aug 2011 12:47:32 +0000 (12:47 +0000)]
Merge of r4003:

Configure: catch up with new Linux version numbering (ticket #5).

Catch up with new Linux version numbering scheme as announced at [1] and
suppress unrecognized versions to actually use default 0.

[1] https://lkml.org/lkml/2011/5/29/204

14 years agoMerge of r3982, r3984, r3985, r3991:
Igor Sysoev [Mon, 29 Aug 2011 12:45:03 +0000 (12:45 +0000)]
Merge of r3982, r3984, r3985, r3991:

Lingering closing related fixes:

*) lingering_close "off|on|always"
*) enable lingering close for pipelined requests
*) do not send RST on normal lingering close read timeout,
   if reset_timedout_connection is on

14 years agoMerge of r3960, r3961, r3962, r3963, r3965:
Igor Sysoev [Mon, 29 Aug 2011 12:35:53 +0000 (12:35 +0000)]
Merge of r3960, r3961, r3962, r3963, r3965:

SSL related fixes:

*) MSIE export versions are rare now, so RSA 512 key is generated on demand
   and is shared among all hosts instead of pregenerating for every HTTPS host
   on configuraiton phase. This decreases start time for configuration with
   large number of HTTPS hosts.
*) ECDHE support; patch by Adrian Kotelba
*) fix build by gcc46 with -Wunused-value option
*) fix SSL connection issues on platforms with 32-bit off_t
*) do not try to reuse and save a SSL session for a peer created on the fly
   by ngx_http_upstream_create_round_robin_peer(), since the peer lives
   only during request so the saved SSL session will never be used again
   and just causes memory leak

14 years agoMerge of r3979, r3980, r3981, r3983, r3987, r3994, r3995:
Igor Sysoev [Mon, 29 Aug 2011 10:39:23 +0000 (10:39 +0000)]
Merge of r3979, r3980, r3981, r3983, r3987, r3994, r3995:

Accept-Encoding refactoring:
*) "gzip; q=0" support
*) and removal of ancient MSIE 4.x test for gzip

14 years agoMerge of r3972, r3973, r3974:
Igor Sysoev [Mon, 29 Aug 2011 10:07:58 +0000 (10:07 +0000)]
Merge of r3972, r3973, r3974:

Cache fixes:

*) do not close connection if cache file is too small: replace it with
   valid one
*) rename ngx_http_file_cache_manager_sleep() to
   ngx_http_file_cache_loader_sleep() and do not use it all in cache manager:
   this is a vestige of the times when cache manager loaded cache
*) set correct configuration file values while adding path

14 years agoMerge of r3966, r3967, r3968, r3969, r3970, r3971:
Igor Sysoev [Mon, 29 Aug 2011 09:51:56 +0000 (09:51 +0000)]
Merge of r3966, r3967, r3968, r3969, r3970, r3971:

Cache loader improvements:

The cache loader performs two tasks: inserting cache objects in inactivity
list and evaluating total cache size. Reading just directory is enough for
this purpose. Elimination of reading cache files saves at least one disk I/O
operation per file.

14 years agoMerge of r4035:
Igor Sysoev [Mon, 29 Aug 2011 09:35:00 +0000 (09:35 +0000)]
Merge of r4035:

Cache size accounting fix: actual cache size on disk was less than
needed by sum of sizes of files loaded by worker processes themselves
while cache loader was running.

The bug has been introduced in r3900.

14 years agoVersion bump.
Igor Sysoev [Mon, 29 Aug 2011 09:30:22 +0000 (09:30 +0000)]
Version bump.

14 years agostable-1.0 branch
Igor Sysoev [Tue, 19 Jul 2011 14:57:06 +0000 (14:57 +0000)]
stable-1.0 branch

14 years agorelease-1.0.5 tag
Igor Sysoev [Tue, 19 Jul 2011 13:38:44 +0000 (13:38 +0000)]
release-1.0.5 tag

14 years agonginx-1.0.5-RELEASE release-1.0.5
Igor Sysoev [Tue, 19 Jul 2011 13:38:37 +0000 (13:38 +0000)]
nginx-1.0.5-RELEASE

14 years agofix segfault if cache key is larger than upstream buffer size
Igor Sysoev [Tue, 19 Jul 2011 11:24:16 +0000 (11:24 +0000)]
fix segfault if cache key is larger than upstream buffer size
patch by Lanshun Zhou

14 years ago$uid_reset
Igor Sysoev [Tue, 19 Jul 2011 11:21:50 +0000 (11:21 +0000)]
$uid_reset

14 years agofix r3756: release lock to allow other process to delete cache node
Igor Sysoev [Tue, 19 Jul 2011 10:35:02 +0000 (10:35 +0000)]
fix r3756: release lock to allow other process to delete cache node
patch by Maxim Dounin

14 years agofix building by MSVC
Igor Sysoev [Mon, 18 Jul 2011 15:00:05 +0000 (15:00 +0000)]
fix building by MSVC

14 years agorevert r3935 and fix "stalled cache updating" alert
Igor Sysoev [Tue, 28 Jun 2011 13:26:08 +0000 (13:26 +0000)]
revert r3935 and fix "stalled cache updating" alert
by freeing cache at upstream finalize phase
patch by Maxim Dounin

14 years agoreferer_hash_max_size and referer_hash_bucket_size directives
Igor Sysoev [Tue, 28 Jun 2011 10:40:44 +0000 (10:40 +0000)]
referer_hash_max_size and referer_hash_bucket_size directives
patch by Witold Filipczyk

14 years agouse !aNULL to disable all anonymous cipher suites
Igor Sysoev [Mon, 27 Jun 2011 15:47:51 +0000 (15:47 +0000)]
use !aNULL to disable all anonymous cipher suites
patch by Rob Stradling

14 years agobump version
Igor Sysoev [Mon, 27 Jun 2011 15:34:44 +0000 (15:34 +0000)]
bump version

14 years agorelease-1.0.4 tag
Igor Sysoev [Wed, 1 Jun 2011 09:29:59 +0000 (09:29 +0000)]
release-1.0.4 tag

14 years agonginx-1.0.4-RELEASE release-1.0.4
Igor Sysoev [Wed, 1 Jun 2011 09:29:58 +0000 (09:29 +0000)]
nginx-1.0.4-RELEASE

14 years agofix "stalled cache updating" alert,
Igor Sysoev [Wed, 1 Jun 2011 08:02:34 +0000 (08:02 +0000)]
fix "stalled cache updating" alert,
when non-cachable HEAD response did not not free an expired cache node

14 years agoconcatenate auto/os/features and auto/unix
Igor Sysoev [Tue, 31 May 2011 08:25:10 +0000 (08:25 +0000)]
concatenate auto/os/features and auto/unix

14 years agodelete unused auto/threads
Igor Sysoev [Tue, 31 May 2011 08:20:16 +0000 (08:20 +0000)]
delete unused auto/threads

14 years agoSupport POSIX semaphores on Linux.
Igor Sysoev [Tue, 31 May 2011 08:17:27 +0000 (08:17 +0000)]
Support POSIX semaphores on Linux.
This configure test must run before auto/make, because it adds library.
auto/unix was placed after auto/make just for historical reasons.

Patch by Denis F. Latypoff

14 years agorevert r3875 since now map uses case sensetive regexes by default
Igor Sysoev [Mon, 30 May 2011 14:24:17 +0000 (14:24 +0000)]
revert r3875 since now map uses case sensetive regexes by default

14 years agochange ngx_http_map_find(): use case sensitive regexes
Igor Sysoev [Mon, 30 May 2011 12:36:17 +0000 (12:36 +0000)]
change ngx_http_map_find(): use case sensitive regexes

14 years agofix building on FreeBSD 6 or earlier against system md5
Igor Sysoev [Fri, 27 May 2011 13:30:53 +0000 (13:30 +0000)]
fix building on FreeBSD 6 or earlier against system md5

14 years agomake built-in ngx_md5_update() interface consistent with other implemenations
Igor Sysoev [Fri, 27 May 2011 10:00:46 +0000 (10:00 +0000)]
make built-in ngx_md5_update() interface consistent with other implemenations

14 years agofix building --without-http_auth_basic_module,
Igor Sysoev [Thu, 26 May 2011 07:32:48 +0000 (07:32 +0000)]
fix building --without-http_auth_basic_module,
the bug has been introduced in r3923

14 years agobump version
Igor Sysoev [Thu, 26 May 2011 07:31:40 +0000 (07:31 +0000)]
bump version

14 years agorelease-1.0.3 tag
Igor Sysoev [Wed, 25 May 2011 14:55:11 +0000 (14:55 +0000)]
release-1.0.3 tag

14 years agonginx-1.0.3-RELEASE release-1.0.3
Igor Sysoev [Wed, 25 May 2011 14:50:50 +0000 (14:50 +0000)]
nginx-1.0.3-RELEASE

15 years ago"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
Igor Sysoev [Mon, 16 May 2011 14:54:50 +0000 (14:54 +0000)]
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
patch by Maxim Dounin

15 years agofix testing IPv4 address mapped to IPv6, when only IPv6 access rules are defined
Igor Sysoev [Mon, 16 May 2011 14:01:23 +0000 (14:01 +0000)]
fix testing IPv4 address mapped to IPv6, when only IPv6 access rules are defined

15 years agosupport IPv4 mapped to IPv6 in geo module
Igor Sysoev [Mon, 16 May 2011 13:54:42 +0000 (13:54 +0000)]
support IPv4 mapped to IPv6 in geo module

15 years agosupport IPv4 mapped to IPv6 in geoip module
Igor Sysoev [Mon, 16 May 2011 13:50:58 +0000 (13:50 +0000)]
support IPv4 mapped to IPv6 in geoip module

15 years agofix debug logging
Igor Sysoev [Fri, 13 May 2011 10:06:56 +0000 (10:06 +0000)]
fix debug logging

15 years agofix a broken cached response if bypass/no_cache directive values are different,
Igor Sysoev [Fri, 13 May 2011 10:05:38 +0000 (10:05 +0000)]
fix a broken cached response if bypass/no_cache directive values are different,
the bug has been introduced in r3700

15 years agolog "Abort trap" or similar messages
Igor Sysoev [Wed, 11 May 2011 11:50:19 +0000 (11:50 +0000)]
log "Abort trap" or similar messages

15 years agogeoip_org
Igor Sysoev [Wed, 11 May 2011 09:34:21 +0000 (09:34 +0000)]
geoip_org
patch by Alexander Uskov

15 years agofix typo
Igor Sysoev [Wed, 11 May 2011 09:25:37 +0000 (09:25 +0000)]
fix typo

15 years agobump version
Igor Sysoev [Wed, 11 May 2011 09:19:48 +0000 (09:19 +0000)]
bump version

15 years agorelease-1.0.2 tag
Igor Sysoev [Tue, 10 May 2011 12:27:53 +0000 (12:27 +0000)]
release-1.0.2 tag

15 years agonginx-1.0.2-RELEASE release-1.0.2
Igor Sysoev [Tue, 10 May 2011 12:27:52 +0000 (12:27 +0000)]
nginx-1.0.2-RELEASE

15 years agogdImageCopyRotated() may images of even height or width
Igor Sysoev [Tue, 10 May 2011 12:04:57 +0000 (12:04 +0000)]
gdImageCopyRotated() may images of even height or width
patch by Adam Bocim

15 years agouse POSIX semaphores in shmtx instead of sched_yield()
Igor Sysoev [Tue, 10 May 2011 11:39:13 +0000 (11:39 +0000)]
use POSIX semaphores in shmtx instead of sched_yield()
number of spinlock spins are increased twice

15 years agofix r3902
Igor Sysoev [Wed, 4 May 2011 12:21:25 +0000 (12:21 +0000)]
fix r3902

15 years agobump version
Igor Sysoev [Wed, 4 May 2011 12:20:32 +0000 (12:20 +0000)]
bump version

15 years agorelease-1.0.1 tag
Igor Sysoev [Tue, 3 May 2011 12:12:05 +0000 (12:12 +0000)]
release-1.0.1 tag

15 years agonginx-1.0.1-RELEASE release-1.0.1
Igor Sysoev [Tue, 3 May 2011 12:12:04 +0000 (12:12 +0000)]
nginx-1.0.1-RELEASE

15 years agotest zero value in an "if" directive consistently with predicates fixed in r3894
Igor Sysoev [Tue, 3 May 2011 09:52:27 +0000 (09:52 +0000)]
test zero value in an "if" directive consistently with predicates fixed in r3894
thanks to Maxim Dounin

15 years agorevert r3864, it may cause kernel panic on some kernels while working with IPv6
Igor Sysoev [Sat, 23 Apr 2011 17:27:55 +0000 (17:27 +0000)]
revert r3864, it may cause kernel panic on some kernels while working with IPv6

15 years agofix building by gcc 4.6 without --with-debug
Igor Sysoev [Sat, 23 Apr 2011 17:25:06 +0000 (17:25 +0000)]
fix building by gcc 4.6 without --with-debug

15 years agofix r3822
Igor Sysoev [Sat, 23 Apr 2011 13:15:56 +0000 (13:15 +0000)]
fix r3822
Solaris strerror() invalid error code behaviour depends on version:
    Solaris 10 returns "Unknown error" and sets errno to EINVAL,
    Solaris 9 returns "Unknown error" and leaves errno intact,
    Solaris 2 returns NULL.

15 years agostyle fix: remove trailing spaces
Igor Sysoev [Sat, 23 Apr 2011 13:11:17 +0000 (13:11 +0000)]
style fix: remove trailing spaces

15 years agoUse more precise stat.st_blocks to account cache size on Unix
Igor Sysoev [Fri, 22 Apr 2011 10:06:43 +0000 (10:06 +0000)]
Use more precise stat.st_blocks to account cache size on Unix
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.

15 years agoallow to use $upstream_... variables in SSI
Igor Sysoev [Thu, 21 Apr 2011 10:07:07 +0000 (10:07 +0000)]
allow to use $upstream_... variables in SSI

15 years agofix r3713
Igor Sysoev [Tue, 19 Apr 2011 12:29:16 +0000 (12:29 +0000)]
fix r3713
thanks to Igor A. Valcov

15 years agofix the previous commit
Igor Sysoev [Sun, 17 Apr 2011 15:28:05 +0000 (15:28 +0000)]
fix the previous commit

15 years agoan internal MD5 implemenation
Igor Sysoev [Fri, 15 Apr 2011 15:58:06 +0000 (15:58 +0000)]
an internal MD5 implemenation
patch by Maxim Dounin

15 years agofix segfault in IPv6 parsing while processing invalid IPv4 address X.YYYY.Z
Igor Sysoev [Fri, 15 Apr 2011 13:50:27 +0000 (13:50 +0000)]
fix segfault in IPv6 parsing while processing invalid IPv4 address X.YYYY.Z
patch by Maxim Dounin

15 years agovalues starting with '0' were incorrectly assumed to be false
Igor Sysoev [Fri, 15 Apr 2011 12:24:18 +0000 (12:24 +0000)]
values starting with '0' were incorrectly assumed to be false
patch by Maxim Dounin

15 years agouse MurmurHash2 for split_clients, because
Igor Sysoev [Fri, 15 Apr 2011 10:59:57 +0000 (10:59 +0000)]
use MurmurHash2 for split_clients, because
its distribution is much better than CRC32's one

15 years agongx_murmur_hash2()
Igor Sysoev [Fri, 15 Apr 2011 10:59:24 +0000 (10:59 +0000)]
ngx_murmur_hash2()

15 years agobump version
Igor Sysoev [Fri, 15 Apr 2011 10:58:44 +0000 (10:58 +0000)]
bump version

15 years agorelease-1.0.0 tag
Igor Sysoev [Tue, 12 Apr 2011 09:04:33 +0000 (09:04 +0000)]
release-1.0.0 tag

15 years agonginx-1.0.0-RELEASE release-1.0.0
Igor Sysoev [Tue, 12 Apr 2011 09:04:32 +0000 (09:04 +0000)]
nginx-1.0.0-RELEASE

15 years agouse memmove() in appropriate places
Igor Sysoev [Tue, 12 Apr 2011 08:02:46 +0000 (08:02 +0000)]
use memmove() in appropriate places

15 years ago"satisfy any" disabled custom 401 error page
Igor Sysoev [Mon, 11 Apr 2011 14:17:31 +0000 (14:17 +0000)]
"satisfy any" disabled custom 401 error page

15 years agofix CPU hog in cache manager
Igor Sysoev [Fri, 8 Apr 2011 15:27:53 +0000 (15:27 +0000)]
fix CPU hog in cache manager
patch by Maxim Dounin

15 years agofix "image_filter rotate 180" and crop case
Igor Sysoev [Thu, 7 Apr 2011 09:12:30 +0000 (09:12 +0000)]
fix "image_filter rotate 180" and crop case
the bug has been introduced in r3879

15 years agobump version
Igor Sysoev [Thu, 7 Apr 2011 09:08:52 +0000 (09:08 +0000)]
bump version

15 years agorelease-0.9.7 tag
Igor Sysoev [Mon, 4 Apr 2011 12:50:24 +0000 (12:50 +0000)]
release-0.9.7 tag

15 years agonginx-0.9.7-RELEASE release-0.9.7
Igor Sysoev [Mon, 4 Apr 2011 12:50:22 +0000 (12:50 +0000)]
nginx-0.9.7-RELEASE

15 years agoreuse keepalive connections if there are no free worker connections
Igor Sysoev [Mon, 4 Apr 2011 12:26:53 +0000 (12:26 +0000)]
reuse keepalive connections if there are no free worker connections
patch by Maxim Dounin

15 years agofix case when a host in fastcgi_pass, scgi_pass, and uwsgi_pass
Igor Sysoev [Mon, 4 Apr 2011 10:43:21 +0000 (10:43 +0000)]
fix case when a host in fastcgi_pass, scgi_pass, and uwsgi_pass
is given by expression and refers to a defined upstream

15 years agoimage filter rotate
Igor Sysoev [Mon, 4 Apr 2011 09:57:32 +0000 (09:57 +0000)]
image filter rotate
patch by Adam Bocim

15 years agobump version
Igor Sysoev [Mon, 4 Apr 2011 09:46:00 +0000 (09:46 +0000)]
bump version

15 years agorelease-0.9.6 tag
Igor Sysoev [Mon, 21 Mar 2011 15:33:27 +0000 (15:33 +0000)]
release-0.9.6 tag

15 years agonginx-0.9.6-RELEASE release-0.9.6
Igor Sysoev [Mon, 21 Mar 2011 15:33:26 +0000 (15:33 +0000)]
nginx-0.9.6-RELEASE

15 years agomap tests values in low case only, so caseless regex has no sense
Igor Sysoev [Mon, 21 Mar 2011 15:18:59 +0000 (15:18 +0000)]
map tests values in low case only, so caseless regex has no sense

15 years ago$time_iso8601 log variable
Igor Sysoev [Wed, 16 Mar 2011 15:46:57 +0000 (15:46 +0000)]
$time_iso8601 log variable
patch by Michael Lustfield

15 years agoallow regex as "map" parameter
Igor Sysoev [Wed, 16 Mar 2011 15:32:31 +0000 (15:32 +0000)]
allow regex as "map" parameter

15 years agoremove semicolon, because it is already in "nginx: " prefix
Igor Sysoev [Mon, 21 Feb 2011 11:47:28 +0000 (11:47 +0000)]
remove semicolon, because it is already in "nginx: " prefix

15 years agofix warnings
Igor Sysoev [Mon, 21 Feb 2011 11:44:26 +0000 (11:44 +0000)]
fix warnings

15 years agocopy OpenSSL-0.9.8r LICENSE for nginx/Windows zip
Igor Sysoev [Mon, 21 Feb 2011 10:04:02 +0000 (10:04 +0000)]
copy OpenSSL-0.9.8r LICENSE for nginx/Windows zip

15 years agobump version
Igor Sysoev [Mon, 21 Feb 2011 10:03:28 +0000 (10:03 +0000)]
bump version

15 years agorelease-0.9.5 tag
Igor Sysoev [Mon, 21 Feb 2011 09:43:59 +0000 (09:43 +0000)]
release-0.9.5 tag

15 years agonginx-0.9.5-RELEASE release-0.9.5
Igor Sysoev [Mon, 21 Feb 2011 09:43:57 +0000 (09:43 +0000)]
nginx-0.9.5-RELEASE

15 years agofix xhtml mime type
Igor Sysoev [Mon, 21 Feb 2011 08:57:02 +0000 (08:57 +0000)]
fix xhtml mime type
thanks to Michael Lustfield
the previous value has been suggested by Konstantin Arkhipov

15 years agofix u->one_addr handling in ngx_inet_resolve_host()
Igor Sysoev [Thu, 17 Feb 2011 15:01:16 +0000 (15:01 +0000)]
fix u->one_addr handling in ngx_inet_resolve_host()
patch by Maxim Dounin