]> git.kaiwu.me - nginx.git/log
nginx.git
14 years agobump version
Igor Sysoev [Tue, 2 Aug 2011 12:39:38 +0000 (12:39 +0000)]
bump version

14 years agorelease-1.1.0 tag
Igor Sysoev [Mon, 1 Aug 2011 14:47:46 +0000 (14:47 +0000)]
release-1.1.0 tag

14 years agonginx-1.1.0-RELEASE release-1.1.0
Igor Sysoev [Mon, 1 Aug 2011 14:47:40 +0000 (14:47 +0000)]
nginx-1.1.0-RELEASE

14 years agofix r3981 again for case "Accept-Encoding: gzip"
Igor Sysoev [Mon, 1 Aug 2011 14:38:09 +0000 (14:38 +0000)]
fix r3981 again for case "Accept-Encoding: gzip"

14 years agoalways set timer in discard body handler, this fixes the cases
Igor Sysoev [Mon, 1 Aug 2011 13:52:54 +0000 (13:52 +0000)]
always set timer in discard body handler, this fixes the cases
when request for static file is redirected by error_page to an SSI page

patch by Maxim Dounin

14 years agolingering_close "off|on|always"
Igor Sysoev [Mon, 1 Aug 2011 13:26:55 +0000 (13:26 +0000)]
lingering_close "off|on|always"
patch by Maxim Dounin

14 years agodo not send RST on normal lingering close read timeout,
Igor Sysoev [Mon, 1 Aug 2011 13:08:03 +0000 (13:08 +0000)]
do not send RST on normal lingering close read timeout,
if reset_timedout_connection is on

patch by Maxim Dounin

14 years agofix r3981 for case "Accept-Encoding: gzip"
Igor Sysoev [Mon, 1 Aug 2011 11:21:46 +0000 (11:21 +0000)]
fix r3981 for case "Accept-Encoding: gzip"

14 years agoenable lingering close for pipelined requests
Igor Sysoev [Mon, 1 Aug 2011 11:08:57 +0000 (11:08 +0000)]
enable lingering close for pipelined requests
patch by Maxim Dounin

14 years agoAccept-Encoding refactoring: "gzip; q=0" support
Igor Sysoev [Mon, 1 Aug 2011 11:02:12 +0000 (11:02 +0000)]
Accept-Encoding refactoring: "gzip; q=0" support

14 years agoAccept-Encoding refactoring: test first the most common case "gzip,"
Igor Sysoev [Sat, 30 Jul 2011 07:34:12 +0000 (07:34 +0000)]
Accept-Encoding refactoring: test first the most common case "gzip,"

14 years agoAccept-Encoding refactoring: remove ancient MSIE 4.x test for gzip
Igor Sysoev [Sat, 30 Jul 2011 06:20:06 +0000 (06:20 +0000)]
Accept-Encoding refactoring: remove ancient MSIE 4.x test for gzip

14 years agotest length of proxy_pass with variables
Igor Sysoev [Sat, 30 Jul 2011 06:11:46 +0000 (06:11 +0000)]
test length of proxy_pass with variables
patch by Lanshun Zhou

14 years agoupdate r3945 with more descriptive error message
Igor Sysoev [Fri, 29 Jul 2011 15:33:03 +0000 (15:33 +0000)]
update r3945 with more descriptive error message

14 years agocopy OpenSSL-1.0.0d LICENSE for nginx/Windows zip
Igor Sysoev [Fri, 29 Jul 2011 15:15:16 +0000 (15:15 +0000)]
copy OpenSSL-1.0.0d LICENSE for nginx/Windows zip

14 years agoloader_files, loader_sleep, and loader_threshold
Igor Sysoev [Fri, 29 Jul 2011 15:09:02 +0000 (15:09 +0000)]
loader_files, loader_sleep, and loader_threshold

14 years agoset correct configuration file values while adding path
Igor Sysoev [Mon, 25 Jul 2011 10:22:38 +0000 (10:22 +0000)]
set correct configuration file values while adding path
patch by Maxim Dounin

14 years agorename ngx_http_file_cache_manager_sleep() to ngx_http_file_cache_loader_sleep()
Igor Sysoev [Mon, 25 Jul 2011 09:45:00 +0000 (09:45 +0000)]
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

14 years agodo not close connection if cache file is too small: replace it with valid one
Igor Sysoev [Sun, 24 Jul 2011 20:04:47 +0000 (20:04 +0000)]
do not close connection if cache file is too small: replace it with valid one

14 years agoelimination of reading cache files by cache loader
Igor Sysoev [Sun, 24 Jul 2011 19:46:53 +0000 (19:46 +0000)]
elimination of reading cache files by cache loader

14 years agofix r3968
Igor Sysoev [Sun, 24 Jul 2011 19:43:52 +0000 (19:43 +0000)]
fix r3968

14 years agoupdate the previous commit:
Igor Sysoev [Sun, 24 Jul 2011 17:36:26 +0000 (17:36 +0000)]
update the previous commit:
removing dependencies on file uniq since WIN32_FIND_DATA has no such field

14 years agoThe cache loader performs two tasks: inserting cache objects in inactivity
Igor Sysoev [Sun, 24 Jul 2011 16:47:31 +0000 (16:47 +0000)]
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.

Preparation for elimination of reading cache files by cache loader:
removing dependencies on the reading:
*) cache node valid_sec and valid_msec are used only for caching errors;
*) upstream buffer size can be used instead of cache node body_start.

14 years agofuse two if's in one condition
Igor Sysoev [Sun, 24 Jul 2011 16:10:06 +0000 (16:10 +0000)]
fuse two if's in one condition

14 years agostyle fix
Igor Sysoev [Sun, 24 Jul 2011 16:06:24 +0000 (16:06 +0000)]
style fix

14 years agodo not try to reuse and save a SSL session for a peer created on the fly
Igor Sysoev [Fri, 22 Jul 2011 16:30:17 +0000 (16:30 +0000)]
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

patch by Maxim Dounin

14 years agofinalizing with rc == 0 in unbuffered proxy mode caused nginx to wait
Igor Sysoev [Fri, 22 Jul 2011 13:30:16 +0000 (13:30 +0000)]
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

patch by Maxim Dounin

14 years agofix SSL connection issues on platforms with 32-bit off_t
Igor Sysoev [Fri, 22 Jul 2011 12:53:04 +0000 (12:53 +0000)]
fix SSL connection issues on platforms with 32-bit off_t
patch by Maxim Dounin

14 years agofix build by gcc46 with -Wunused-value option
Igor Sysoev [Fri, 22 Jul 2011 10:43:50 +0000 (10:43 +0000)]
fix build by gcc46 with -Wunused-value option
patch by Maxim Dounin

14 years agoECDHE support
Igor Sysoev [Wed, 20 Jul 2011 15:42:40 +0000 (15:42 +0000)]
ECDHE support
patch by Adrian Kotelba

14 years agoMSIE export versions are rare now, so RSA 512 key is generated on demand
Igor Sysoev [Wed, 20 Jul 2011 12:59:24 +0000 (12:59 +0000)]
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.

14 years agobump version: 1.1.0 development version
Igor Sysoev [Wed, 20 Jul 2011 09:29:25 +0000 (09:29 +0000)]
bump version: 1.1.0 development version

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