]> git.kaiwu.me - nginx.git/log
nginx.git
18 years agoconnection error should be logged with "connecting to upstream" action,
Igor Sysoev [Sun, 9 Sep 2007 18:43:16 +0000 (18:43 +0000)]
connection error should be logged with "connecting to upstream" action,
the bug was introduced in r1154

18 years agoread EOF of header only responses in non-buffered proxying
Igor Sysoev [Sun, 9 Sep 2007 18:32:53 +0000 (18:32 +0000)]
read EOF of header only responses in non-buffered proxying

18 years agothere may be several "Connection" header lines and each may have several tokens
Igor Sysoev [Sun, 9 Sep 2007 18:28:49 +0000 (18:28 +0000)]
there may be several "Connection" header lines and each may have several tokens

18 years agoescape internal request URI in proxy_pass
Igor Sysoev [Sun, 9 Sep 2007 18:25:03 +0000 (18:25 +0000)]
escape internal request URI in proxy_pass

18 years agobalance more fair when there are several servers with equal weights,
Igor Sysoev [Sun, 9 Sep 2007 18:23:21 +0000 (18:23 +0000)]
balance more fair when there are several servers with equal weights,
side effect: now smallest weights go first

18 years agostyle fix
Igor Sysoev [Fri, 7 Sep 2007 09:29:08 +0000 (09:29 +0000)]
style fix

18 years agofix case when server was marked as down after one failure
Igor Sysoev [Wed, 5 Sep 2007 15:30:19 +0000 (15:30 +0000)]
fix case when server was marked as down after one failure

18 years agobackout r1426: return dynamic weights
Igor Sysoev [Wed, 5 Sep 2007 15:28:19 +0000 (15:28 +0000)]
backout r1426: return dynamic weights

18 years agobump version
Igor Sysoev [Mon, 3 Sep 2007 10:35:02 +0000 (10:35 +0000)]
bump version

18 years agorelease-0.6.10 tag
Igor Sysoev [Mon, 3 Sep 2007 10:30:00 +0000 (10:30 +0000)]
release-0.6.10 tag

18 years agonginx-0.6.10-RELEASE release-0.6.10
Igor Sysoev [Mon, 3 Sep 2007 10:29:59 +0000 (10:29 +0000)]
nginx-0.6.10-RELEASE

18 years agotest the most relevant condition first
Igor Sysoev [Mon, 3 Sep 2007 09:06:26 +0000 (09:06 +0000)]
test the most relevant condition first

18 years agoopen_file_cache_events
Igor Sysoev [Mon, 3 Sep 2007 08:41:42 +0000 (08:41 +0000)]
open_file_cache_events

18 years agofix unlikely socket leak
Igor Sysoev [Sat, 1 Sep 2007 16:41:52 +0000 (16:41 +0000)]
fix unlikely socket leak

18 years agofix socket leak introduced in r1374 when request header and body was
Igor Sysoev [Sat, 1 Sep 2007 16:40:19 +0000 (16:40 +0000)]
fix socket leak introduced in r1374 when request header and body was
in one packet and connection went to keep-alive state

18 years agoopen_file_cache in HTTP
Igor Sysoev [Sat, 1 Sep 2007 12:12:48 +0000 (12:12 +0000)]
open_file_cache in HTTP

18 years agoopen file cache
Igor Sysoev [Sat, 1 Sep 2007 12:11:21 +0000 (12:11 +0000)]
open file cache

18 years agochange ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr
Igor Sysoev [Sat, 1 Sep 2007 12:05:55 +0000 (12:05 +0000)]
change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr

18 years agoNGX_USE_VNODE_EVENT and NGX_FLUSH_EVENT
Igor Sysoev [Sat, 1 Sep 2007 11:59:36 +0000 (11:59 +0000)]
NGX_USE_VNODE_EVENT and NGX_FLUSH_EVENT

18 years agoadd comment
Igor Sysoev [Sat, 1 Sep 2007 11:21:00 +0000 (11:21 +0000)]
add comment

18 years agoupdate comments
Igor Sysoev [Sat, 1 Sep 2007 09:33:25 +0000 (09:33 +0000)]
update comments

18 years agoallow to append charset to the "Content-Type" header
Igor Sysoev [Fri, 31 Aug 2007 18:47:25 +0000 (18:47 +0000)]
allow to append charset to the "Content-Type" header

18 years agostyle fix
Igor Sysoev [Fri, 31 Aug 2007 12:13:12 +0000 (12:13 +0000)]
style fix

18 years agoupdate comment
Igor Sysoev [Fri, 31 Aug 2007 09:50:23 +0000 (09:50 +0000)]
update comment

18 years agostyle fix
Igor Sysoev [Fri, 31 Aug 2007 09:41:45 +0000 (09:41 +0000)]
style fix

18 years agouse ev->log, because ev->data may be connection stub only
Igor Sysoev [Fri, 31 Aug 2007 09:40:38 +0000 (09:40 +0000)]
use ev->log, because ev->data may be connection stub only

18 years agostyle fix
Igor Sysoev [Fri, 31 Aug 2007 09:22:53 +0000 (09:22 +0000)]
style fix

18 years agofix typo
Igor Sysoev [Fri, 31 Aug 2007 06:15:50 +0000 (06:15 +0000)]
fix typo

18 years agodestroy ngx_cycle->pool on exit
Igor Sysoev [Thu, 30 Aug 2007 18:59:44 +0000 (18:59 +0000)]
destroy ngx_cycle->pool on exit

18 years agowin32 ngx_is_exec() stub
Igor Sysoev [Thu, 30 Aug 2007 18:57:38 +0000 (18:57 +0000)]
win32 ngx_is_exec() stub

18 years agolog socket number
Igor Sysoev [Wed, 29 Aug 2007 15:33:59 +0000 (15:33 +0000)]
log socket number

18 years agoIf-Modified-Since should be unique header line
Igor Sysoev [Wed, 29 Aug 2007 15:32:49 +0000 (15:32 +0000)]
If-Modified-Since should be unique header line

18 years agoadd guard code
Igor Sysoev [Wed, 29 Aug 2007 11:26:42 +0000 (11:26 +0000)]
add guard code

18 years agofix comment
Igor Sysoev [Wed, 29 Aug 2007 07:19:22 +0000 (07:19 +0000)]
fix comment

18 years agodisable pair event on POLLREMOVE
Igor Sysoev [Wed, 29 Aug 2007 07:18:54 +0000 (07:18 +0000)]
disable pair event on POLLREMOVE

18 years agobump version
Igor Sysoev [Tue, 28 Aug 2007 16:44:29 +0000 (16:44 +0000)]
bump version

18 years agorelease-0.6.9 tag
Igor Sysoev [Tue, 28 Aug 2007 16:22:49 +0000 (16:22 +0000)]
release-0.6.9 tag

18 years agonginx-0.6.9-RELEASE release-0.6.9
Igor Sysoev [Tue, 28 Aug 2007 16:22:48 +0000 (16:22 +0000)]
nginx-0.6.9-RELEASE

18 years agoreturn 400 response
Igor Sysoev [Mon, 27 Aug 2007 20:52:40 +0000 (20:52 +0000)]
return 400 response

18 years agodo not set read->eof, ready, and error prematurely
Igor Sysoev [Mon, 27 Aug 2007 19:44:35 +0000 (19:44 +0000)]
do not set read->eof, ready, and error prematurely

18 years agocancel dynamic weights,
Igor Sysoev [Mon, 27 Aug 2007 16:02:43 +0000 (16:02 +0000)]
cancel dynamic weights,
it seems that may permanently set lower weight or even mark server as down

18 years agooptimize r->connection in ngx_http_finalize_request()
Igor Sysoev [Mon, 27 Aug 2007 15:53:00 +0000 (15:53 +0000)]
optimize r->connection in ngx_http_finalize_request()

18 years agocancel keep-alive and lingering close on EOF
Igor Sysoev [Mon, 27 Aug 2007 15:40:19 +0000 (15:40 +0000)]
cancel keep-alive and lingering close on EOF

18 years agocancel discarding body on EOF
Igor Sysoev [Mon, 27 Aug 2007 15:38:46 +0000 (15:38 +0000)]
cancel discarding body on EOF

18 years agomark connection as not ready, this fixes endless loop introduced in r1368
Igor Sysoev [Mon, 27 Aug 2007 15:01:08 +0000 (15:01 +0000)]
mark connection as not ready, this fixes endless loop introduced in r1368

18 years agoadd guard code to prevent endless loop
Igor Sysoev [Fri, 24 Aug 2007 15:58:13 +0000 (15:58 +0000)]
add guard code to prevent endless loop

18 years agoupdate ip_hash to "backup" option
Igor Sysoev [Fri, 24 Aug 2007 15:30:35 +0000 (15:30 +0000)]
update ip_hash to "backup" option

18 years agoset current peer to use it in ngx_http_upstream_free_round_robin_peer()
Igor Sysoev [Fri, 24 Aug 2007 15:29:50 +0000 (15:29 +0000)]
set current peer to use it in ngx_http_upstream_free_round_robin_peer()

18 years agofix ip_hash on 64-bit platform
Igor Sysoev [Fri, 24 Aug 2007 15:28:06 +0000 (15:28 +0000)]
fix ip_hash on 64-bit platform

18 years agofix trailing wildcard when two or more listen used in one server
Igor Sysoev [Fri, 24 Aug 2007 11:05:47 +0000 (11:05 +0000)]
fix trailing wildcard when two or more listen used in one server

18 years agoadd svg mime type
Igor Sysoev [Tue, 21 Aug 2007 11:05:30 +0000 (11:05 +0000)]
add svg mime type

18 years agofix build on amd64
Igor Sysoev [Tue, 21 Aug 2007 11:05:11 +0000 (11:05 +0000)]
fix build on amd64

18 years agobump version
Igor Sysoev [Mon, 20 Aug 2007 13:10:25 +0000 (13:10 +0000)]
bump version

18 years agorelease-0.6.8 tag
Igor Sysoev [Mon, 20 Aug 2007 13:05:33 +0000 (13:05 +0000)]
release-0.6.8 tag

18 years agonginx-0.6.8-RELEASE release-0.6.8
Igor Sysoev [Mon, 20 Aug 2007 13:05:32 +0000 (13:05 +0000)]
nginx-0.6.8-RELEASE

18 years agoset delay only when almost whole sendfile_max_chunk was transferred
Igor Sysoev [Mon, 20 Aug 2007 10:35:41 +0000 (10:35 +0000)]
set delay only when almost whole sendfile_max_chunk was transferred

18 years agotest relative nginx.conf, this is compatible with old versions
Igor Sysoev [Mon, 20 Aug 2007 10:05:10 +0000 (10:05 +0000)]
test relative nginx.conf, this is compatible with old versions
because cycle->root on this stage is not set

18 years agouse %v for ngx_variable_value_t in ngx_sprintf(),
Igor Sysoev [Mon, 20 Aug 2007 09:57:19 +0000 (09:57 +0000)]
use %v for ngx_variable_value_t in ngx_sprintf(),
this fixes nginx on FreeBSD/sparc64

18 years agoescape " ", "%", and %00-%1F in login and password
Igor Sysoev [Mon, 20 Aug 2007 09:50:53 +0000 (09:50 +0000)]
escape " ", "%", and %00-%1F in login and password

18 years agoset worker_priority, worker_rlimit_nofile, worker_rlimit_core, and
Igor Sysoev [Wed, 15 Aug 2007 20:53:30 +0000 (20:53 +0000)]
set worker_priority, worker_rlimit_nofile, worker_rlimit_core, and
worker_rlimit_sigpending without super-user privileges testing

18 years agoauto redirect lost arguments
Igor Sysoev [Wed, 15 Aug 2007 15:57:26 +0000 (15:57 +0000)]
auto redirect lost arguments

18 years agobump version
Igor Sysoev [Wed, 15 Aug 2007 12:58:35 +0000 (12:58 +0000)]
bump version

18 years agorelease-0.6.7 tag
Igor Sysoev [Wed, 15 Aug 2007 12:44:27 +0000 (12:44 +0000)]
release-0.6.7 tag

18 years agonginx-0.6.7-RELEASE release-0.6.7
Igor Sysoev [Wed, 15 Aug 2007 12:44:26 +0000 (12:44 +0000)]
nginx-0.6.7-RELEASE

18 years agoupstream sendfile bit was overridden by r->connection->sendfile
Igor Sysoev [Tue, 14 Aug 2007 20:44:09 +0000 (20:44 +0000)]
upstream sendfile bit was overridden by r->connection->sendfile

18 years agoaxe --sysconfdir=PATH
Igor Sysoev [Tue, 14 Aug 2007 19:26:20 +0000 (19:26 +0000)]
axe --sysconfdir=PATH
configuration prefix is dirname of --conf-path=PATH
fix paths in default nginx.conf

18 years agorename upgrade to upgrade1
Igor Sysoev [Tue, 14 Aug 2007 18:22:07 +0000 (18:22 +0000)]
rename upgrade to upgrade1
use -QUIT instead of -WINCH

18 years agotest http_auth absence
Igor Sysoev [Tue, 14 Aug 2007 15:21:20 +0000 (15:21 +0000)]
test http_auth absence

18 years agoallow "http://" in auth_http URL
Igor Sysoev [Tue, 14 Aug 2007 15:00:38 +0000 (15:00 +0000)]
allow "http://" in auth_http URL

18 years agostop configuration on error
Igor Sysoev [Tue, 14 Aug 2007 14:57:51 +0000 (14:57 +0000)]
stop configuration on error

18 years agofix long loop
Igor Sysoev [Tue, 14 Aug 2007 13:35:52 +0000 (13:35 +0000)]
fix long loop

18 years agoregex in valid_referers
Igor Sysoev [Sun, 12 Aug 2007 20:06:43 +0000 (20:06 +0000)]
regex in valid_referers

18 years agoregex in server_name
Igor Sysoev [Sun, 12 Aug 2007 19:48:12 +0000 (19:48 +0000)]
regex in server_name

18 years agofix building by bcc without PCRE
Igor Sysoev [Sun, 12 Aug 2007 15:25:09 +0000 (15:25 +0000)]
fix building by bcc without PCRE

18 years agostyle fix
Igor Sysoev [Sun, 12 Aug 2007 09:00:56 +0000 (09:00 +0000)]
style fix

18 years agoignore meaningless bits in CIDR and warn about them
Igor Sysoev [Fri, 10 Aug 2007 13:13:28 +0000 (13:13 +0000)]
ignore meaningless bits in CIDR and warn about them

18 years agosort upstream weights
Igor Sysoev [Thu, 9 Aug 2007 15:28:17 +0000 (15:28 +0000)]
sort upstream weights

18 years agobackup upstream servers
Igor Sysoev [Thu, 9 Aug 2007 13:54:33 +0000 (13:54 +0000)]
backup upstream servers

18 years agoset default listen() backlog to 511 on all platforms except FreeBSD
Igor Sysoev [Thu, 9 Aug 2007 13:32:21 +0000 (13:32 +0000)]
set default listen() backlog to 511 on all platforms except FreeBSD

18 years ago"down" server caused endless loop
Igor Sysoev [Tue, 7 Aug 2007 12:34:20 +0000 (12:34 +0000)]
"down" server caused endless loop

18 years agoadd debug info for Sun Studio
Igor Sysoev [Tue, 7 Aug 2007 10:56:45 +0000 (10:56 +0000)]
add debug info for Sun Studio

18 years agoomit unnecessary conditions
Igor Sysoev [Tue, 7 Aug 2007 10:56:09 +0000 (10:56 +0000)]
omit unnecessary conditions

18 years agodiscard request body before going to keep-alive state and use lingering timeouts
Igor Sysoev [Tue, 7 Aug 2007 10:53:27 +0000 (10:53 +0000)]
discard request body before going to keep-alive state and use lingering timeouts

18 years agoomit unnecessary XSRETURN_EMPTY
Igor Sysoev [Mon, 6 Aug 2007 15:40:26 +0000 (15:40 +0000)]
omit unnecessary XSRETURN_EMPTY

18 years ago$r->discard_request_body
Igor Sysoev [Mon, 6 Aug 2007 15:38:08 +0000 (15:38 +0000)]
$r->discard_request_body

18 years agorename ngx_http_discard_body() to ngx_http_discard_request_body()
Igor Sysoev [Mon, 6 Aug 2007 15:37:22 +0000 (15:37 +0000)]
rename ngx_http_discard_body() to ngx_http_discard_request_body()

18 years agoblock reading for level events
Igor Sysoev [Mon, 6 Aug 2007 15:31:00 +0000 (15:31 +0000)]
block reading for level events

18 years agorename ngx_http_block_read() and ngx_http_test_read() to ..._reading()
Igor Sysoev [Mon, 6 Aug 2007 15:22:40 +0000 (15:22 +0000)]
rename ngx_http_block_read() and ngx_http_test_read() to ..._reading()

18 years agodiscard request body in cycle
Igor Sysoev [Mon, 6 Aug 2007 15:18:24 +0000 (15:18 +0000)]
discard request body in cycle

18 years agomove "Expires" header code to a separate function
Igor Sysoev [Wed, 1 Aug 2007 19:32:58 +0000 (19:32 +0000)]
move "Expires" header code to a separate function

18 years agomove "Cache-Control" header code to specific handler
Igor Sysoev [Wed, 1 Aug 2007 15:24:06 +0000 (15:24 +0000)]
move "Cache-Control" header code to specific handler

18 years agostyle fix
Igor Sysoev [Wed, 1 Aug 2007 14:22:12 +0000 (14:22 +0000)]
style fix

18 years agouse header specific handler in add_handler,
Igor Sysoev [Wed, 1 Aug 2007 14:01:30 +0000 (14:01 +0000)]
use header specific handler in add_handler,
"Last-Modified" header handler

18 years agofix r1353
Igor Sysoev [Mon, 30 Jul 2007 10:51:55 +0000 (10:51 +0000)]
fix r1353

18 years agobump version
Igor Sysoev [Mon, 30 Jul 2007 09:23:26 +0000 (09:23 +0000)]
bump version

18 years agorelease-0.6.6 tag
Igor Sysoev [Mon, 30 Jul 2007 09:13:18 +0000 (09:13 +0000)]
release-0.6.6 tag

18 years agonginx-0.6.6-RELEASE release-0.6.6
Igor Sysoev [Mon, 30 Jul 2007 09:13:17 +0000 (09:13 +0000)]
nginx-0.6.6-RELEASE

18 years agomake 64-bit ngx_int_t on 64-bit platforms
Igor Sysoev [Sun, 29 Jul 2007 18:24:53 +0000 (18:24 +0000)]
make 64-bit ngx_int_t on 64-bit platforms

18 years agonamed location
Igor Sysoev [Sun, 29 Jul 2007 18:11:39 +0000 (18:11 +0000)]
named location

18 years ago--sysconfdir=DIR
Igor Sysoev [Sun, 29 Jul 2007 18:05:45 +0000 (18:05 +0000)]
--sysconfdir=DIR