]> git.kaiwu.me - nginx.git/log
nginx.git
16 years agomerge r3011, r3012, r3026:
Igor Sysoev [Mon, 7 Sep 2009 10:12:49 +0000 (10:12 +0000)]
merge r3011, r3012, r3026:

FastCGI fixes:

*) continue to parse available fastcgi record after a split header,
   this fixes the erroneous message "upstream prematurely closed connection
   while reading response header from upstream"
*) fix a garbage in a split fastcgi header
*) refactor fastcgi stderr handling

16 years agomerge r2984, r2985, r3000:
Igor Sysoev [Mon, 7 Sep 2009 10:05:36 +0000 (10:05 +0000)]
merge r2984, r2985, r3000:

XSLT filter fixes:

*) preserve XML wellFormed field before freeing memory
*) fix libxml2 error message

16 years agomerge r2983:
Igor Sysoev [Mon, 7 Sep 2009 10:03:15 +0000 (10:03 +0000)]
merge r2983:

name of file specified in --conf-path was not honored during installation
the bug had been appeared in r1353

16 years agomerge r2980, r2981, r2982:
Igor Sysoev [Mon, 7 Sep 2009 10:01:26 +0000 (10:01 +0000)]
merge r2980, r2981, r2982:

win32 fixes:

*) ngx_http_set_exten() is always successful since 0.3.46
*) skip URI trailing dots under Win32
*) use caseless regex locations on caseless filesystems: MacOSX, Win32, Cygwin

16 years agomerge r2975:
Igor Sysoev [Mon, 7 Sep 2009 09:54:47 +0000 (09:54 +0000)]
merge r2975:

handle Win32 ReadFile() EOF state in Unix way

16 years agomerge r2953, r2958, r3084:
Igor Sysoev [Mon, 7 Sep 2009 09:49:51 +0000 (09:49 +0000)]
merge r2953, r2958, r3084:

*) $upstream_cache_status
*) clean cache updating state if a response has uncacheable code or
   cache prohibitive headers

16 years agohandle "/../" case more reliably
Igor Sysoev [Mon, 7 Sep 2009 09:29:41 +0000 (09:29 +0000)]
handle "/../" case more reliably

16 years agomerge r2991:
Igor Sysoev [Mon, 7 Sep 2009 09:25:59 +0000 (09:25 +0000)]
merge r2991:

do not test "..." case since it's Win9x family feature only

16 years agofix Win95 "/.../" handling for the record
Igor Sysoev [Mon, 7 Sep 2009 09:18:55 +0000 (09:18 +0000)]
fix Win95 "/.../" handling for the record

16 years agobump version
Igor Sysoev [Mon, 7 Sep 2009 09:15:47 +0000 (09:15 +0000)]
bump version

16 years agorelease-0.7.61 tag
Igor Sysoev [Mon, 22 Jun 2009 09:37:08 +0000 (09:37 +0000)]
release-0.7.61 tag

16 years agonginx-0.7.61-RELEASE release-0.7.61
Igor Sysoev [Mon, 22 Jun 2009 09:37:07 +0000 (09:37 +0000)]
nginx-0.7.61-RELEASE

16 years agomerge r2954:
Igor Sysoev [Mon, 22 Jun 2009 09:32:03 +0000 (09:32 +0000)]
merge r2954:

fix segfault if there is error_page 401, proxy_intercept_errors is on
and backend does not return "WWW-Authenticate" header

16 years agomerge r2952:
Igor Sysoev [Mon, 22 Jun 2009 09:31:33 +0000 (09:31 +0000)]
merge r2952:

ignore ngx_atomic_fetch_add() result
this fixes building at least by gcc 4.2.1 on Mac OS X 10.6

16 years agomerge r2950, r2951:
Igor Sysoev [Mon, 22 Jun 2009 09:29:10 +0000 (09:29 +0000)]
merge r2950, r2951:

cache related fixes:

*) fix building --without-http-cache, broken in r2945
*) fix ./configure error message

16 years agobump version
Igor Sysoev [Mon, 22 Jun 2009 09:23:35 +0000 (09:23 +0000)]
bump version

16 years agorelease-0.7.60 tag
Igor Sysoev [Mon, 15 Jun 2009 09:55:52 +0000 (09:55 +0000)]
release-0.7.60 tag

16 years agonginx-0.7.60-RELEASE release-0.7.60
Igor Sysoev [Mon, 15 Jun 2009 09:55:51 +0000 (09:55 +0000)]
nginx-0.7.60-RELEASE

16 years agomerge r2897, r2898, r2899, r2901, r2902, r2904, r2905, r2906, r2907,
Igor Sysoev [Mon, 15 Jun 2009 09:48:15 +0000 (09:48 +0000)]
merge r2897, r2898, r2899, r2901, r2902, r2904, r2905, r2906, r2907,
r2909, r2910, r2922, r2923, r2924, r2925, r2929:

various win32 fixes:

*) use no-threads for Unix builds only
*) Win32 returns ERROR_PATH_NOT_FOUND instead of ERROR_FILE_NOT_FOUND
*) add trailing zero to a file name in ngx_win32_rename_file()
*) fix logging in ngx_win32_rename_file()
*) allow shared memory segments more than 4G
*) fix memory leak in successful case
*) log shared memory name in failure case
*) test that zone has the same addresses in different processes
*) add drive letter for Win32 root path
*) log GetExitCodeProcess()'s errno
*) test premature process termination
*) fix debug logging
*) exit if no workers could not be started
*) do not quit old workers if no new workers could not be started
*) a signaller process should stop configuration processing just after
   it is able to get pid file, this allows to not open log files, etc.
*) win32 master process had aready closed listening sockets

16 years agomerge r2895, r2896, r2926, r2927, r2928, r2930, and r2936:
Igor Sysoev [Mon, 15 Jun 2009 09:30:59 +0000 (09:30 +0000)]
merge r2895, r2896, r2926, r2927, r2928, r2930, and r2936:

various proxy/fastcgi cache features and fixes:

*) report about proxy/fastcgi_store and proxy/fastcgi_cache incompatibility
*) delete useless r->cache->uses
*) proxy_cache_use_stale/fastcgi_cache_use_stale  updating
*) inherit proxy_set_header, proxy_hide_header, and fastcgi_hide_header
   only if cache settings are similar
*) add response file uniq while loading cold cache on demand

16 years agomerge r2919:
Igor Sysoev [Mon, 15 Jun 2009 09:05:31 +0000 (09:05 +0000)]
merge r2919:

test GIF87a

16 years agomerge r2900:
Igor Sysoev [Mon, 15 Jun 2009 09:02:09 +0000 (09:02 +0000)]
merge r2900:

fix XSLT filter in SSI subrequests

16 years agomerge r2935:
Igor Sysoev [Mon, 15 Jun 2009 08:58:16 +0000 (08:58 +0000)]
merge r2935:

initialize use_event field in open file cache
the bug had been introduced in r2071

16 years agomerge r2893, r2894, and r2917:
Igor Sysoev [Mon, 15 Jun 2009 08:49:53 +0000 (08:49 +0000)]
merge r2893, r2894, and r2917:

various ./configure fixes:

*) use md5/sha1 in OpenSSL only if OpenSSL is used
*) stop ./configure at once on library failure
*) librt must be tested before creating Makefile
   the bug has been introduced in r2817

16 years agomerge r2889, r2918, and r2921:
Igor Sysoev [Mon, 15 Jun 2009 08:43:10 +0000 (08:43 +0000)]
merge r2889, r2918, and r2921:

fix a pool growing and CPU usage for multi-requests keepalive connections:

*) keepalive_requests
*) try to reuse last 4 free large allocation links
*) do not test a pool block space if we can not allocated from
   the block 4 times

16 years agobump version
Igor Sysoev [Mon, 15 Jun 2009 08:36:30 +0000 (08:36 +0000)]
bump version

16 years agostable-0.7 branch
Igor Sysoev [Mon, 25 May 2009 12:05:02 +0000 (12:05 +0000)]
stable-0.7 branch

16 years agonginx-0.7.59-RELEASE release-0.7.59
Igor Sysoev [Mon, 25 May 2009 10:00:08 +0000 (10:00 +0000)]
nginx-0.7.59-RELEASE

16 years agofix socket leak introduced in r2378
Igor Sysoev [Mon, 25 May 2009 09:56:01 +0000 (09:56 +0000)]
fix socket leak introduced in r2378

16 years agoreset content_type hash value, this fixes a bug when XSLT responses
Igor Sysoev [Mon, 25 May 2009 09:06:29 +0000 (09:06 +0000)]
reset content_type hash value, this fixes a bug when XSLT responses
could not be processed by SSI, charset, and gzip filters

16 years agolight optimization of ngx_http_test_content_type()
Igor Sysoev [Mon, 25 May 2009 09:00:35 +0000 (09:00 +0000)]
light optimization of ngx_http_test_content_type()

16 years agotest libdl before OpenSSL configuration
Igor Sysoev [Sun, 24 May 2009 14:19:16 +0000 (14:19 +0000)]
test libdl before OpenSSL configuration
the bug has been introduced in r2818 and broke
*) SSL modules linking on Solaris 9 and lower,
*) and linking with OpenSSL built from sources on Linux

16 years agoallow absolute path in --with-openssl=
Igor Sysoev [Sun, 24 May 2009 14:14:08 +0000 (14:14 +0000)]
allow absolute path in --with-openssl=

16 years agofix segfault introduced in r2845
Igor Sysoev [Fri, 22 May 2009 11:32:17 +0000 (11:32 +0000)]
fix segfault introduced in r2845

16 years agoadd charset for ngx_http_gzip_static_module responses
Igor Sysoev [Fri, 22 May 2009 11:05:26 +0000 (11:05 +0000)]
add charset for ngx_http_gzip_static_module responses

16 years agouse -ldl for any OS that needs it
Igor Sysoev [Fri, 22 May 2009 09:22:28 +0000 (09:22 +0000)]
use -ldl for any OS that needs it

16 years agoproxy_cache_methods and fastcgi_cache_methods
Igor Sysoev [Tue, 19 May 2009 13:27:27 +0000 (13:27 +0000)]
proxy_cache_methods and fastcgi_cache_methods

16 years agouse already given variable
Igor Sysoev [Tue, 19 May 2009 12:55:26 +0000 (12:55 +0000)]
use already given variable

16 years agofix building OpenSSL on Unix
Igor Sysoev [Tue, 19 May 2009 12:12:36 +0000 (12:12 +0000)]
fix building OpenSSL on Unix

16 years agostyle fix
Igor Sysoev [Mon, 18 May 2009 16:50:32 +0000 (16:50 +0000)]
style fix

16 years agofix "make zip", the bug has been introduced in r2841
Igor Sysoev [Mon, 18 May 2009 16:50:05 +0000 (16:50 +0000)]
fix "make zip", the bug has been introduced in r2841

16 years agobump version
Igor Sysoev [Mon, 18 May 2009 16:48:53 +0000 (16:48 +0000)]
bump version

16 years agorelease-0.7.58 tag
Igor Sysoev [Mon, 18 May 2009 13:14:18 +0000 (13:14 +0000)]
release-0.7.58 tag

16 years agonginx-0.7.58-RELEASE release-0.7.58
Igor Sysoev [Mon, 18 May 2009 13:14:17 +0000 (13:14 +0000)]
nginx-0.7.58-RELEASE

16 years agouse ngx_connection_local_sockaddr() instead of ngx_http_server_addr()
Igor Sysoev [Mon, 18 May 2009 12:58:19 +0000 (12:58 +0000)]
use ngx_connection_local_sockaddr() instead of ngx_http_server_addr()

16 years agodelete unneeded field
Igor Sysoev [Mon, 18 May 2009 12:21:00 +0000 (12:21 +0000)]
delete unneeded field

16 years agomail proxy listen IPv6 support
Igor Sysoev [Mon, 18 May 2009 12:20:22 +0000 (12:20 +0000)]
mail proxy listen IPv6 support

16 years agongx_connection_local_sockaddr()
Igor Sysoev [Mon, 18 May 2009 12:12:06 +0000 (12:12 +0000)]
ngx_connection_local_sockaddr()

16 years agodelete unneeded cast
Igor Sysoev [Mon, 18 May 2009 07:47:58 +0000 (07:47 +0000)]
delete unneeded cast

16 years agoupdate comments missed in r2513
Igor Sysoev [Sun, 17 May 2009 20:13:29 +0000 (20:13 +0000)]
update comments missed in r2513

16 years agoupdate variable name missed in r2513
Igor Sysoev [Sun, 17 May 2009 19:58:37 +0000 (19:58 +0000)]
update variable name missed in r2513

16 years agofix "make upgrade" broken in r2759
Igor Sysoev [Sun, 17 May 2009 19:22:08 +0000 (19:22 +0000)]
fix "make upgrade" broken in r2759

16 years agofix colon in file name for ngx_http_autoindex_module
Igor Sysoev [Sun, 17 May 2009 19:01:23 +0000 (19:01 +0000)]
fix colon in file name for ngx_http_autoindex_module

17 years agoimage_filter_jpeg_quality
Igor Sysoev [Sat, 16 May 2009 16:57:11 +0000 (16:57 +0000)]
image_filter_jpeg_quality

17 years agostyle fix
Igor Sysoev [Thu, 14 May 2009 16:24:39 +0000 (16:24 +0000)]
style fix

17 years agofix building OpenSSL on Win32
Igor Sysoev [Thu, 14 May 2009 15:46:34 +0000 (15:46 +0000)]
fix building OpenSSL on Win32

17 years agoclient_body_in_single_buffer
Igor Sysoev [Thu, 14 May 2009 11:41:33 +0000 (11:41 +0000)]
client_body_in_single_buffer

17 years ago$request_body variable
Igor Sysoev [Thu, 14 May 2009 11:40:51 +0000 (11:40 +0000)]
$request_body variable

17 years agoupdate two previous commits again
Igor Sysoev [Thu, 14 May 2009 11:39:06 +0000 (11:39 +0000)]
update two previous commits again

17 years agoupdate the previous commit
Igor Sysoev [Thu, 14 May 2009 11:36:26 +0000 (11:36 +0000)]
update the previous commit

17 years agofix client_body_in_file_only type
Igor Sysoev [Thu, 14 May 2009 11:31:50 +0000 (11:31 +0000)]
fix client_body_in_file_only type

17 years agoswitch Win32 building to modern PCRE versions (starting from 7.1)
Igor Sysoev [Wed, 13 May 2009 19:48:21 +0000 (19:48 +0000)]
switch Win32 building to modern PCRE versions (starting from 7.1)
instead of single old 4.4 version

17 years agoadd miltilines in OpenWatcom makefiles
Igor Sysoev [Tue, 12 May 2009 13:29:00 +0000 (13:29 +0000)]
add miltilines in OpenWatcom makefiles

17 years agobackout r2833: CURDIR was set to Unix style path
Igor Sysoev [Tue, 12 May 2009 13:15:43 +0000 (13:15 +0000)]
backout r2833: CURDIR was set to Unix style path
instead, do chdir inside Makefile

17 years agobump version
Igor Sysoev [Tue, 12 May 2009 13:11:39 +0000 (13:11 +0000)]
bump version

17 years agorelease-0.7.57 tag
Igor Sysoev [Tue, 12 May 2009 12:11:51 +0000 (12:11 +0000)]
release-0.7.57 tag

17 years agonginx-0.7.57-RELEASE release-0.7.57
Igor Sysoev [Tue, 12 May 2009 12:11:50 +0000 (12:11 +0000)]
nginx-0.7.57-RELEASE

17 years agotest finalized image filter context before testing image_filter off
Igor Sysoev [Tue, 12 May 2009 12:05:29 +0000 (12:05 +0000)]
test finalized image filter context before testing image_filter off
this fixes SIGFPE if image filter errors are passed to named location

17 years agocorrectly apply patch
Igor Sysoev [Tue, 12 May 2009 09:35:14 +0000 (09:35 +0000)]
correctly apply patch

17 years agouse $(CURDIR) instead of "..\..\.." because the later does not allow to use
Igor Sysoev [Mon, 11 May 2009 18:02:06 +0000 (18:02 +0000)]
use $(CURDIR) instead of "..\..\.." because the later does not allow to use
options as --with-zlib=../zlib-1.2.3.  It seems there is no common way
to learn the current directory in Win32 make's: although nmake has MAKEDIR
variable, nevertheless Borland make's MAKEDIR is the directory where make
is installed, and OpenWatcom wmake has no MAKEDIR at all.

17 years agobump version
Igor Sysoev [Mon, 11 May 2009 17:47:06 +0000 (17:47 +0000)]
bump version

17 years agorelease-0.7.56 tag
Igor Sysoev [Mon, 11 May 2009 13:42:27 +0000 (13:42 +0000)]
release-0.7.56 tag

17 years agonginx-0.7.56-RELEASE release-0.7.56
Igor Sysoev [Mon, 11 May 2009 13:42:26 +0000 (13:42 +0000)]
nginx-0.7.56-RELEASE

17 years agobackout -r2827 and add correct fix
Igor Sysoev [Sun, 10 May 2009 19:49:14 +0000 (19:49 +0000)]
backout -r2827 and add correct fix

17 years agomessage creating Makefile
Igor Sysoev [Sun, 10 May 2009 18:38:11 +0000 (18:38 +0000)]
message creating Makefile

17 years agoadd MSYS support
Igor Sysoev [Sun, 10 May 2009 18:35:39 +0000 (18:35 +0000)]
add MSYS support

17 years agoremove BMAKE (build make): a cc compiler should use own make
Igor Sysoev [Sun, 10 May 2009 18:35:08 +0000 (18:35 +0000)]
remove BMAKE (build make): a cc compiler should use own make

17 years agofix building --without-http-cache
Igor Sysoev [Fri, 8 May 2009 20:14:35 +0000 (20:14 +0000)]
fix building --without-http-cache
the bug had been appeared in r2806

17 years agoreconfigure master process
Igor Sysoev [Fri, 8 May 2009 18:12:03 +0000 (18:12 +0000)]
reconfigure master process

17 years agofix the previous commit
Igor Sysoev [Fri, 8 May 2009 18:11:18 +0000 (18:11 +0000)]
fix the previous commit

17 years agoallow to pass image filter errors via the same location where the filter is set
Igor Sysoev [Fri, 8 May 2009 14:52:50 +0000 (14:52 +0000)]
allow to pass image filter errors via the same location where the filter is set

17 years agotest already destroyed request
Igor Sysoev [Fri, 8 May 2009 14:31:59 +0000 (14:31 +0000)]
test already destroyed request

17 years agohandle big responses for "size" and "test" image_filters
Igor Sysoev [Fri, 8 May 2009 14:25:51 +0000 (14:25 +0000)]
handle big responses for "size" and "test" image_filters

17 years agopreserve Solaris binary hardware capabilities
Igor Sysoev [Fri, 8 May 2009 09:41:43 +0000 (09:41 +0000)]
preserve Solaris binary hardware capabilities

17 years agotest whether libdl is required for dynamic linking:
Igor Sysoev [Fri, 8 May 2009 09:39:53 +0000 (09:39 +0000)]
test whether libdl is required for dynamic linking:
Solaris 10 has dlopen()/etc. in libc

17 years agoSolaris 10 has sched_yield() in libc
Igor Sysoev [Fri, 8 May 2009 09:36:16 +0000 (09:36 +0000)]
Solaris 10 has sched_yield() in libc

17 years agomove libmd test before libmd5,
Igor Sysoev [Thu, 7 May 2009 19:18:10 +0000 (19:18 +0000)]
move libmd test before libmd5,
this fixes wrong linking with /usr/local/lib/libmd5.so from libwww package
on FreeBSD. The library uses long's instead of int32_t's in MD5_CTX
and on 64-bit platforms its MD5_CTX is bigger than defined in <md5.h>

17 years agoIPv6 for Win32
Igor Sysoev [Thu, 7 May 2009 13:05:04 +0000 (13:05 +0000)]
IPv6 for Win32

17 years agodivide select module into two modules: Unix and Win32 ones
Igor Sysoev [Wed, 6 May 2009 14:53:54 +0000 (14:53 +0000)]
divide select module into two modules: Unix and Win32 ones

17 years agobump version
Igor Sysoev [Wed, 6 May 2009 14:11:03 +0000 (14:11 +0000)]
bump version

17 years agorelease-0.7.55 tag
Igor Sysoev [Wed, 6 May 2009 09:28:58 +0000 (09:28 +0000)]
release-0.7.55 tag

17 years agonginx-0.7.55-RELEASE release-0.7.55
Igor Sysoev [Wed, 6 May 2009 09:28:57 +0000 (09:28 +0000)]
nginx-0.7.55-RELEASE

17 years agomake code clearer
Igor Sysoev [Wed, 6 May 2009 08:54:54 +0000 (08:54 +0000)]
make code clearer

17 years agotest event type to prevent errors
Igor Sysoev [Wed, 6 May 2009 08:53:13 +0000 (08:53 +0000)]
test event type to prevent errors

17 years agodelete level event of appropriate type, this should fix select()'s EBADF,
Igor Sysoev [Wed, 6 May 2009 08:40:44 +0000 (08:40 +0000)]
delete level event of appropriate type, this should fix select()'s EBADF,
WSAENOTSOCK, and "select ready != events" alerts

17 years agongx_create_listening()
Igor Sysoev [Tue, 5 May 2009 17:33:26 +0000 (17:33 +0000)]
ngx_create_listening()

17 years agoreinit proxy/fastcgi header parser before ngx_http_upstream_cache_send()
Igor Sysoev [Tue, 5 May 2009 17:18:33 +0000 (17:18 +0000)]
reinit proxy/fastcgi header parser before ngx_http_upstream_cache_send()

17 years agoproxy/fastcgi_cache_use_stale http_50x did not work
Igor Sysoev [Tue, 5 May 2009 15:17:00 +0000 (15:17 +0000)]
proxy/fastcgi_cache_use_stale http_50x did not work

17 years agomove listen log copying from ngx_open_listening_sockets()
Igor Sysoev [Tue, 5 May 2009 13:16:29 +0000 (13:16 +0000)]
move listen log copying from ngx_open_listening_sockets()
to ngx_configure_listening_sockets(), otherwise listen socket logs have no file
after first reload and this caused segfault if debug_connection was used;
the bug has been introduced in r2786

17 years agouse correct name
Igor Sysoev [Tue, 5 May 2009 13:12:59 +0000 (13:12 +0000)]
use correct name