]> git.kaiwu.me - nginx.git/log
nginx.git
16 years agorelease-0.8.27 tag
Igor Sysoev [Tue, 17 Nov 2009 16:53:18 +0000 (16:53 +0000)]
release-0.8.27 tag

16 years agonginx-0.8.27-RELEASE release-0.8.27
Igor Sysoev [Tue, 17 Nov 2009 16:53:17 +0000 (16:53 +0000)]
nginx-0.8.27-RELEASE

16 years agoa cache manager thread handle was overwritten by a cache loader thread handle,
Igor Sysoev [Tue, 17 Nov 2009 16:46:27 +0000 (16:46 +0000)]
a cache manager thread handle was overwritten by a cache loader thread handle,
this caused an exit delay, the bug had been introduced in r3023

16 years agoadd comment from r2716 commit message
Igor Sysoev [Tue, 17 Nov 2009 10:31:39 +0000 (10:31 +0000)]
add comment from r2716 commit message

16 years agouse global perl variable in perl_destruct()/perl_free()
Igor Sysoev [Tue, 17 Nov 2009 10:28:12 +0000 (10:28 +0000)]
use global perl variable in perl_destruct()/perl_free()
for non-mulitiplicity perl

16 years agofix pcre allocation on Win32, the bug had been introduced in r3326
Igor Sysoev [Tue, 17 Nov 2009 10:24:45 +0000 (10:24 +0000)]
fix pcre allocation on Win32, the bug had been introduced in r3326

16 years agobump version
Igor Sysoev [Tue, 17 Nov 2009 09:59:45 +0000 (09:59 +0000)]
bump version

16 years agorelease-0.8.26 tag
Igor Sysoev [Mon, 16 Nov 2009 19:25:38 +0000 (19:25 +0000)]
release-0.8.26 tag

16 years agonginx-0.8.26-RELEASE release-0.8.26
Igor Sysoev [Mon, 16 Nov 2009 19:25:37 +0000 (19:25 +0000)]
nginx-0.8.26-RELEASE

16 years agoevaluate maximum captures size on configuration phase
Igor Sysoev [Mon, 16 Nov 2009 19:11:38 +0000 (19:11 +0000)]
evaluate maximum captures size on configuration phase

16 years agofix captures in "rewrite", the bug had been introduced in r3326
Igor Sysoev [Mon, 16 Nov 2009 19:10:45 +0000 (19:10 +0000)]
fix captures in "rewrite", the bug had been introduced in r3326

16 years agofix building without --with-debug, introduced in r3328
Igor Sysoev [Mon, 16 Nov 2009 16:00:52 +0000 (16:00 +0000)]
fix building without --with-debug, introduced in r3328

16 years agobump version
Igor Sysoev [Mon, 16 Nov 2009 16:00:12 +0000 (16:00 +0000)]
bump version

16 years agorelease-0.8.25 tag
Igor Sysoev [Mon, 16 Nov 2009 13:47:11 +0000 (13:47 +0000)]
release-0.8.25 tag

16 years agonginx-0.8.25-RELEASE release-0.8.25
Igor Sysoev [Mon, 16 Nov 2009 13:47:10 +0000 (13:47 +0000)]
nginx-0.8.25-RELEASE

16 years agobackout r3325: postpone filter is a body only filter
Igor Sysoev [Mon, 16 Nov 2009 13:22:10 +0000 (13:22 +0000)]
backout r3325: postpone filter is a body only filter

16 years agoalign to minimum of a page and a pool sizes
Igor Sysoev [Mon, 16 Nov 2009 12:50:10 +0000 (12:50 +0000)]
align to minimum of a page and a pool sizes

16 years agongx_min()
Igor Sysoev [Mon, 16 Nov 2009 12:48:41 +0000 (12:48 +0000)]
ngx_min()

16 years agolarge allocation should not be aligned to a page size
Igor Sysoev [Mon, 16 Nov 2009 12:47:44 +0000 (12:47 +0000)]
large allocation should not be aligned to a page size

16 years agoadd alignment in debug log
Igor Sysoev [Mon, 16 Nov 2009 12:46:05 +0000 (12:46 +0000)]
add alignment in debug log

16 years agongx_http_degradation_module
Igor Sysoev [Mon, 16 Nov 2009 12:20:00 +0000 (12:20 +0000)]
ngx_http_degradation_module

16 years agoregex named captures
Igor Sysoev [Mon, 16 Nov 2009 12:19:02 +0000 (12:19 +0000)]
regex named captures

16 years agoremove subrequest test in range header, chunked, and header filters: they
Igor Sysoev [Mon, 16 Nov 2009 12:13:17 +0000 (12:13 +0000)]
remove subrequest test in range header, chunked, and header filters: they
are run after postpone filter which sends data only in main request context

16 years agoallow "proxy_pass http://$backend" without URI part
Igor Sysoev [Sun, 15 Nov 2009 11:36:12 +0000 (11:36 +0000)]
allow "proxy_pass  http://$backend" without URI part

16 years agofix posix_fadvise() error handling
Igor Sysoev [Sun, 15 Nov 2009 09:16:58 +0000 (09:16 +0000)]
fix posix_fadvise() error handling

16 years agoupdate allocation error messages
Igor Sysoev [Sun, 15 Nov 2009 09:03:08 +0000 (09:03 +0000)]
update allocation error messages

16 years agofix posix_memalign() error handling
Igor Sysoev [Sun, 15 Nov 2009 08:56:40 +0000 (08:56 +0000)]
fix posix_memalign() error handling

16 years agongx_regex_exec() calling optimiztion:
Igor Sysoev [Fri, 13 Nov 2009 20:41:41 +0000 (20:41 +0000)]
ngx_regex_exec() calling optimiztion:

*) change NGX_REGEX_NO_MATCHED to PCRE_ERROR_NOMATCH
*) declare ngx_regex_exec() as #define
*) optimize SSI regex a little

16 years agostyle fix: lcf > clcf
Igor Sysoev [Fri, 13 Nov 2009 19:59:54 +0000 (19:59 +0000)]
style fix: lcf > clcf

16 years agodo not log error if $r->variable was not found
Igor Sysoev [Thu, 12 Nov 2009 15:50:34 +0000 (15:50 +0000)]
do not log error if $r->variable was not found

16 years agoadd MSIE padding for Chrome too
Igor Sysoev [Thu, 12 Nov 2009 14:24:22 +0000 (14:24 +0000)]
add MSIE padding for Chrome too

16 years agor->chrome
Igor Sysoev [Thu, 12 Nov 2009 14:23:18 +0000 (14:23 +0000)]
r->chrome

16 years agotest frequent r->header_only before three response status
Igor Sysoev [Thu, 12 Nov 2009 13:44:16 +0000 (13:44 +0000)]
test frequent r->header_only before three response status

16 years agorefactor gzip_vary handling
Igor Sysoev [Thu, 12 Nov 2009 13:41:56 +0000 (13:41 +0000)]
refactor gzip_vary handling

16 years agonginx sent gzipped responses to clients those do not support gzip,
Igor Sysoev [Wed, 11 Nov 2009 21:12:41 +0000 (21:12 +0000)]
nginx sent gzipped responses to clients those do not support gzip,
if "gzip_static on" and "gzip_vary off"; the bug had been introduced in r3136

16 years agobump version
Igor Sysoev [Wed, 11 Nov 2009 21:06:36 +0000 (21:06 +0000)]
bump version

16 years agorelease-0.8.24 tag
Igor Sysoev [Wed, 11 Nov 2009 14:53:18 +0000 (14:53 +0000)]
release-0.8.24 tag

16 years agonginx-0.8.24-RELEASE release-0.8.24
Igor Sysoev [Wed, 11 Nov 2009 14:53:17 +0000 (14:53 +0000)]
nginx-0.8.24-RELEASE

16 years agoremove "Content-Encoding: gzip" in 304 response
Igor Sysoev [Wed, 11 Nov 2009 14:32:49 +0000 (14:32 +0000)]
remove "Content-Encoding: gzip" in 304 response
sent by ngx_http_gzip_static_module

16 years agouse ngx_resolver_alloc() instead of ngx_resolver_calloc()
Igor Sysoev [Wed, 11 Nov 2009 14:29:20 +0000 (14:29 +0000)]
use ngx_resolver_alloc() instead of ngx_resolver_calloc()
since all fields are filled

16 years agofix resolving an empty name (".")
Igor Sysoev [Wed, 11 Nov 2009 14:27:24 +0000 (14:27 +0000)]
fix resolving an empty name (".")

16 years agofix "set_real_ip_from unix:" inheritance
Igor Sysoev [Wed, 11 Nov 2009 13:41:16 +0000 (13:41 +0000)]
fix "set_real_ip_from unix:" inheritance

16 years agofix building without --with-debug, introduced in r3294
Igor Sysoev [Wed, 11 Nov 2009 12:32:06 +0000 (12:32 +0000)]
fix building without --with-debug, introduced in r3294

16 years agobump version
Igor Sysoev [Wed, 11 Nov 2009 12:30:36 +0000 (12:30 +0000)]
bump version

16 years agorelease-0.8.23 tag
Igor Sysoev [Wed, 11 Nov 2009 11:05:23 +0000 (11:05 +0000)]
release-0.8.23 tag

16 years agonginx-0.8.23-RELEASE release-0.8.23
Igor Sysoev [Wed, 11 Nov 2009 11:05:22 +0000 (11:05 +0000)]
nginx-0.8.23-RELEASE

16 years agodisable SSL renegotiation (CVE-2009-3555)
Igor Sysoev [Wed, 11 Nov 2009 10:59:07 +0000 (10:59 +0000)]
disable SSL renegotiation (CVE-2009-3555)

16 years ago*) fix resolving an empty name ("."),
Igor Sysoev [Mon, 9 Nov 2009 19:15:11 +0000 (19:15 +0000)]
*) fix resolving an empty name ("."),
*) add quotes in an error message,
*) backout r3299 in ngx_mail_smtp_handler.c

16 years agofix "PTR ." case in address resolver
Igor Sysoev [Mon, 9 Nov 2009 18:04:05 +0000 (18:04 +0000)]
fix "PTR ." case in address resolver

16 years agofix segfault in resolver:
Igor Sysoev [Mon, 9 Nov 2009 17:45:56 +0000 (17:45 +0000)]
fix segfault in resolver:
ngx_resolve_name_done() and ngx_resolve_addr_done() did not delete
contexts from a resolver node waiting list.

16 years agocf->conf_file->file.name.data may be uninitialized, if an allocation failed;
Igor Sysoev [Thu, 5 Nov 2009 17:10:48 +0000 (17:10 +0000)]
cf->conf_file->file.name.data may be uninitialized, if an allocation failed;
found by Clang Static Analyzer

16 years agodelete useless statement
Igor Sysoev [Thu, 5 Nov 2009 17:09:02 +0000 (17:09 +0000)]
delete useless statement

16 years agoexport aio presence knowledge to prevent using "aio sendfile",
Igor Sysoev [Thu, 5 Nov 2009 13:12:30 +0000 (13:12 +0000)]
export aio presence knowledge to prevent using "aio sendfile",
if aio does not present

16 years agoFix a bug introduced in r2032: After a child process has read a terminate
Igor Sysoev [Wed, 4 Nov 2009 19:41:08 +0000 (19:41 +0000)]
Fix a bug introduced in r2032: After a child process has read a terminate
message from a channel, the process tries to read the channel again.
The kernel (at least FreeBSD) may preempt the process and sends a SIGIO
signal to a master process. The master process sends a new terminate message,
the kernel switches again to the the child process, and the child process
reads the messages instead of an EAGAIN error. And this may repeat over
and over. Being that the child process can not exit the cycle and test
the termination flag set by the message handler.

The fix disallow the master process to send a new terminate message on
SIGIO signal reception. It may send the message only on SIGALARM signal.

16 years agoallow to inherit unix domain sockets while online upgrade
Igor Sysoev [Wed, 4 Nov 2009 18:36:43 +0000 (18:36 +0000)]
allow to inherit unix domain sockets while online upgrade

16 years agoallow to work single "set_real_ip_from unix:"
Igor Sysoev [Wed, 4 Nov 2009 11:37:06 +0000 (11:37 +0000)]
allow to work single "set_real_ip_from unix:"

16 years agobump version
Igor Sysoev [Wed, 4 Nov 2009 11:20:54 +0000 (11:20 +0000)]
bump version

16 years agorelease-0.8.22 tag
Igor Sysoev [Tue, 3 Nov 2009 18:52:38 +0000 (18:52 +0000)]
release-0.8.22 tag

16 years agonginx-0.8.22-RELEASE release-0.8.22
Igor Sysoev [Tue, 3 Nov 2009 18:52:37 +0000 (18:52 +0000)]
nginx-0.8.22-RELEASE

16 years agofix segfault if there is single large_client_header_buffers
Igor Sysoev [Tue, 3 Nov 2009 18:12:20 +0000 (18:12 +0000)]
fix segfault if there is single large_client_header_buffers
and a request line fills it completely

16 years agoposix_fadvise64() had been implemented in Linux 2.5.60
Igor Sysoev [Tue, 3 Nov 2009 16:29:47 +0000 (16:29 +0000)]
posix_fadvise64() had been implemented in Linux 2.5.60

16 years agouse setproctitle("%s", title)
Igor Sysoev [Tue, 3 Nov 2009 16:28:21 +0000 (16:28 +0000)]
use setproctitle("%s", title)

16 years agofix segfault if no rules are defined, introduced in r3279
Igor Sysoev [Tue, 3 Nov 2009 16:04:07 +0000 (16:04 +0000)]
fix segfault if no rules are defined, introduced in r3279

16 years agofix segfault in SSL if limit_rate is used
Igor Sysoev [Tue, 3 Nov 2009 15:38:33 +0000 (15:38 +0000)]
fix segfault in SSL if limit_rate is used

16 years agofix segfault if $limit_rate was logged
Igor Sysoev [Tue, 3 Nov 2009 15:05:38 +0000 (15:05 +0000)]
fix segfault if $limit_rate was logged

16 years agofix "if (!-x ...)"
Igor Sysoev [Tue, 3 Nov 2009 14:57:27 +0000 (14:57 +0000)]
fix "if (!-x ...)"

16 years agofix directive name in error message: "set_realip_from" to "set_real_ip_from"
Igor Sysoev [Tue, 3 Nov 2009 14:41:56 +0000 (14:41 +0000)]
fix directive name in error message: "set_realip_from" to "set_real_ip_from"

16 years agofix directive name in error message: "realip_from" to "set_realip_from"
Igor Sysoev [Tue, 3 Nov 2009 13:45:22 +0000 (13:45 +0000)]
fix directive name in error message: "realip_from" to "set_realip_from"

16 years agoIPv6 support in ngx_http_access_module
Igor Sysoev [Tue, 3 Nov 2009 13:42:45 +0000 (13:42 +0000)]
IPv6 support in ngx_http_access_module

16 years agongx_ptocidr() supports IPv6
Igor Sysoev [Tue, 3 Nov 2009 13:42:25 +0000 (13:42 +0000)]
ngx_ptocidr() supports IPv6

16 years agomake ngx_inet6_ntop() non-static
Igor Sysoev [Tue, 3 Nov 2009 12:44:55 +0000 (12:44 +0000)]
make ngx_inet6_ntop() non-static

16 years agooptimize some cycles:
Igor Sysoev [Mon, 2 Nov 2009 17:12:09 +0000 (17:12 +0000)]
optimize some cycles:

*) delete surplus variable;
*) on i386/amd64 "while (n) / n--" is smaller than "while (n--)",
   because the platforms have no postfix operations

16 years agoset_real_ip_from unix:
Igor Sysoev [Mon, 2 Nov 2009 16:46:07 +0000 (16:46 +0000)]
set_real_ip_from unix:

16 years agosupport IPv6 addresses in Real IP headers
Igor Sysoev [Mon, 2 Nov 2009 16:24:27 +0000 (16:24 +0000)]
support IPv6 addresses in Real IP headers

16 years agochange ngx_parse_addr() interface
Igor Sysoev [Mon, 2 Nov 2009 16:11:06 +0000 (16:11 +0000)]
change ngx_parse_addr() interface

16 years agoproxy_bind, fastcgi_bind, and memcached_bind
Igor Sysoev [Mon, 2 Nov 2009 15:24:02 +0000 (15:24 +0000)]
proxy_bind, fastcgi_bind, and memcached_bind

16 years agongx_parse_addr()
Igor Sysoev [Mon, 2 Nov 2009 15:20:42 +0000 (15:20 +0000)]
ngx_parse_addr()

16 years agorename ngx_peer_addr_t to ngx_addr_t
Igor Sysoev [Mon, 2 Nov 2009 15:14:17 +0000 (15:14 +0000)]
rename ngx_peer_addr_t to ngx_addr_t

16 years agouse sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr"
Igor Sysoev [Mon, 2 Nov 2009 14:32:46 +0000 (14:32 +0000)]
use sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr"

16 years agoreplace inet_addr() with ngx_inet_addr()
Igor Sysoev [Mon, 2 Nov 2009 13:51:10 +0000 (13:51 +0000)]
replace inet_addr() with ngx_inet_addr()

16 years agouse ngx_inet6_addr()
Igor Sysoev [Mon, 2 Nov 2009 12:58:30 +0000 (12:58 +0000)]
use ngx_inet6_addr()

16 years agongx_inet6_addr()
Igor Sysoev [Mon, 2 Nov 2009 12:50:00 +0000 (12:50 +0000)]
ngx_inet6_addr()

16 years agostyle fix
Igor Sysoev [Mon, 2 Nov 2009 12:41:56 +0000 (12:41 +0000)]
style fix

16 years agodelete unused field c->local_socklen
Igor Sysoev [Sun, 1 Nov 2009 19:29:49 +0000 (19:29 +0000)]
delete unused field c->local_socklen

16 years agoremove a broken 0.1.x to 0.2+ upgrade procedure
Igor Sysoev [Fri, 30 Oct 2009 19:42:12 +0000 (19:42 +0000)]
remove a broken 0.1.x to 0.2+ upgrade procedure

16 years agodo not unlink unix domain socket file while online upgrade
Igor Sysoev [Fri, 30 Oct 2009 19:18:21 +0000 (19:18 +0000)]
do not unlink unix domain socket file while online upgrade

16 years agounlink unix domain socket file after testing
Igor Sysoev [Fri, 30 Oct 2009 19:16:50 +0000 (19:16 +0000)]
unlink unix domain socket file after testing

16 years agofix segfaults if no listen directive was set in default server {} block:
Igor Sysoev [Thu, 29 Oct 2009 15:53:50 +0000 (15:53 +0000)]
fix segfaults if no listen directive was set in default server {} block:
ngx_http_add_listen() uses server's connection_pool_size and
client_header_timeout values, therefore it must be called after
the values have been merged, the bug had been introduced in r3218

16 years agostyle fix
Igor Sysoev [Wed, 28 Oct 2009 10:47:00 +0000 (10:47 +0000)]
style fix

16 years agofix segfault if http {} block is empty, the bug had been introduced in r3218
Igor Sysoev [Wed, 28 Oct 2009 10:45:40 +0000 (10:45 +0000)]
fix segfault if http {} block is empty, the bug had been introduced in r3218

16 years agobump version
Igor Sysoev [Wed, 28 Oct 2009 10:31:06 +0000 (10:31 +0000)]
bump version

16 years agorelease-0.8.21 tag
Igor Sysoev [Mon, 26 Oct 2009 14:09:26 +0000 (14:09 +0000)]
release-0.8.21 tag

16 years agonginx-0.8.21-RELEASE release-0.8.21
Igor Sysoev [Mon, 26 Oct 2009 14:09:25 +0000 (14:09 +0000)]
nginx-0.8.21-RELEASE

16 years agofix r3211
Igor Sysoev [Mon, 26 Oct 2009 12:00:37 +0000 (12:00 +0000)]
fix r3211

16 years agohttp listen unix domain sockets
Igor Sysoev [Mon, 26 Oct 2009 11:43:32 +0000 (11:43 +0000)]
http listen unix domain sockets

16 years agofix r3225 and r3227: preserve default_server bit during listen options
Igor Sysoev [Thu, 22 Oct 2009 10:17:54 +0000 (10:17 +0000)]
fix r3225 and r3227: preserve default_server bit during listen options
overwriting

16 years agodo not run regex for empty host name since regex always fails in this case,
Igor Sysoev [Thu, 22 Oct 2009 09:48:42 +0000 (09:48 +0000)]
do not run regex for empty host name since regex always fails in this case,
the bug had been introduced in r2196

16 years agotest a duplicate listen in a server
Igor Sysoev [Thu, 22 Oct 2009 08:15:16 +0000 (08:15 +0000)]
test a duplicate listen in a server

16 years agofix r3225: it overrode the listen options by default server default options
Igor Sysoev [Thu, 22 Oct 2009 08:14:02 +0000 (08:14 +0000)]
fix r3225: it overrode the listen options by default server default options

16 years agolisten default_server parameter
Igor Sysoev [Wed, 21 Oct 2009 19:18:50 +0000 (19:18 +0000)]
listen default_server parameter