]> git.kaiwu.me - nginx.git/log
nginx.git
16 years agorestore discard body handler after ngx_http_set_writer() set it to
Igor Sysoev [Mon, 19 Oct 2009 16:12:13 +0000 (16:12 +0000)]
restore discard body handler after ngx_http_set_writer() set it to
ngx_http_test_reading(), the bug was introduced in r3050

16 years agofix ngx_http_finalize_request() code after a body has been discarded
Igor Sysoev [Mon, 19 Oct 2009 16:06:57 +0000 (16:06 +0000)]
fix ngx_http_finalize_request() code after a body has been discarded

16 years agoprevent handling discarded body as a pipelined request
Igor Sysoev [Mon, 19 Oct 2009 14:08:35 +0000 (14:08 +0000)]
prevent handling discarded body as a pipelined request

16 years agoadd lingering timeout if a response is short and a request body is being
Igor Sysoev [Mon, 19 Oct 2009 14:08:09 +0000 (14:08 +0000)]
add lingering timeout if a response is short and a request body is being
discarded, the bug was introduced in r3050

16 years agoadd SNI support in -V output
Igor Sysoev [Mon, 19 Oct 2009 12:35:01 +0000 (12:35 +0000)]
add SNI support in -V output

16 years agofix typo
Igor Sysoev [Mon, 19 Oct 2009 12:33:09 +0000 (12:33 +0000)]
fix typo

16 years agongx_http_parse_time() should support full 32-bit time
Igor Sysoev [Thu, 15 Oct 2009 13:19:34 +0000 (13:19 +0000)]
ngx_http_parse_time() should support full 32-bit time

16 years agouse ngx_uint_t instead of int,
Igor Sysoev [Thu, 15 Oct 2009 13:09:58 +0000 (13:09 +0000)]
use ngx_uint_t instead of int,
strange to say this reduce function size by 16 bytes

16 years agobump version
Igor Sysoev [Thu, 15 Oct 2009 13:01:42 +0000 (13:01 +0000)]
bump version

16 years agorelease-0.8.20 tag
Igor Sysoev [Wed, 14 Oct 2009 12:57:26 +0000 (12:57 +0000)]
release-0.8.20 tag

16 years agonginx-0.8.20-RELEASE release-0.8.20
Igor Sysoev [Wed, 14 Oct 2009 12:57:25 +0000 (12:57 +0000)]
nginx-0.8.20-RELEASE

16 years agoupdate r3201: ngx_http_random_index_module should behave consistently
Igor Sysoev [Wed, 14 Oct 2009 12:39:41 +0000 (12:39 +0000)]
update r3201: ngx_http_random_index_module should behave consistently
in spite of the dirent.d_type presence

16 years agoignore EACCES errors for top level directories in ngx_create_full_path()
Igor Sysoev [Wed, 14 Oct 2009 11:46:09 +0000 (11:46 +0000)]
ignore EACCES errors for top level directories in ngx_create_full_path()

16 years agodo not create Win32 drive letter in ngx_create_full_path()
Igor Sysoev [Wed, 14 Oct 2009 11:36:16 +0000 (11:36 +0000)]
do not create Win32 drive letter in ngx_create_full_path()

16 years ago*) reset cached dirent.d_type after stat()
Igor Sysoev [Wed, 14 Oct 2009 11:33:35 +0000 (11:33 +0000)]
*) reset cached dirent.d_type after stat()
   this fixes slash after link to a directory in ngx_http_autoindex_module;
*) use cached dirent.d_type as hint on all systems

the issues has been introduced in r2235

16 years agonginx did not close log file set by --error-log-path,
Igor Sysoev [Fri, 9 Oct 2009 14:43:09 +0000 (14:43 +0000)]
nginx did not close log file set by --error-log-path,
the bug was introduced in r2744

16 years agotest comma separator in "Cache-Control"
Igor Sysoev [Thu, 8 Oct 2009 14:22:00 +0000 (14:22 +0000)]
test comma separator in "Cache-Control"

16 years agohide cacheable Set-Cookie and P3P FastCGI response headers
Igor Sysoev [Wed, 7 Oct 2009 15:15:41 +0000 (15:15 +0000)]
hide cacheable Set-Cookie and P3P FastCGI response headers

16 years agouse only strong ciphers by default
Igor Sysoev [Wed, 7 Oct 2009 14:46:13 +0000 (14:46 +0000)]
use only strong ciphers by default

16 years agouse real file cache length, this fixes cache size counting for responses
Igor Sysoev [Wed, 7 Oct 2009 12:55:58 +0000 (12:55 +0000)]
use real file cache length, this fixes cache size counting for responses
without "Content-Length" header and 304 responses.

16 years agobump version
Igor Sysoev [Wed, 7 Oct 2009 12:48:05 +0000 (12:48 +0000)]
bump version

16 years agorelease-0.8.19 tag
Igor Sysoev [Tue, 6 Oct 2009 16:19:43 +0000 (16:19 +0000)]
release-0.8.19 tag

16 years agonginx-0.8.19-RELEASE release-0.8.19
Igor Sysoev [Tue, 6 Oct 2009 16:19:42 +0000 (16:19 +0000)]
nginx-0.8.19-RELEASE

16 years agofix r3184
Igor Sysoev [Tue, 6 Oct 2009 16:08:15 +0000 (16:08 +0000)]
fix r3184

16 years agodisable SSLv2 and low ciphers by default
Igor Sysoev [Tue, 6 Oct 2009 14:24:53 +0000 (14:24 +0000)]
disable SSLv2 and low ciphers by default

16 years agobump version
Igor Sysoev [Tue, 6 Oct 2009 13:52:26 +0000 (13:52 +0000)]
bump version

16 years agorelease-0.8.18 tag
Igor Sysoev [Tue, 6 Oct 2009 12:44:51 +0000 (12:44 +0000)]
release-0.8.18 tag

16 years agonginx-0.8.18-RELEASE release-0.8.18
Igor Sysoev [Tue, 6 Oct 2009 12:44:50 +0000 (12:44 +0000)]
nginx-0.8.18-RELEASE

16 years agolimit_conn_log_level
Igor Sysoev [Tue, 6 Oct 2009 10:14:29 +0000 (10:14 +0000)]
limit_conn_log_level

16 years agolimit_req_log_level
Igor Sysoev [Tue, 6 Oct 2009 10:14:21 +0000 (10:14 +0000)]
limit_req_log_level

16 years agofix building by gcc45
Igor Sysoev [Tue, 6 Oct 2009 09:46:16 +0000 (09:46 +0000)]
fix building by gcc45

16 years agomake limit_req to conform to the leaky bucket algorithm
Igor Sysoev [Tue, 6 Oct 2009 09:37:18 +0000 (09:37 +0000)]
make limit_req to conform to the leaky bucket algorithm

16 years agoomit '\0' from "Location" header on MKCOL request
Igor Sysoev [Tue, 6 Oct 2009 09:32:21 +0000 (09:32 +0000)]
omit '\0' from "Location" header on MKCOL request

16 years agoclear r->lingering_close to disable preventively calling
Igor Sysoev [Fri, 2 Oct 2009 11:32:56 +0000 (11:32 +0000)]
clear r->lingering_close to disable preventively calling
ngx_http_set_lingering_close() while request cleanup

16 years agoclear r->keepalive to disable preventively calling
Igor Sysoev [Fri, 2 Oct 2009 11:30:47 +0000 (11:30 +0000)]
clear r->keepalive to disable preventively calling
ngx_http_set_keepalive() while request cleanup

16 years agoupdate r3167: do not set r->discard_body if the body has been just discarded
Igor Sysoev [Fri, 2 Oct 2009 09:46:04 +0000 (09:46 +0000)]
update r3167: do not set r->discard_body if the body has been just discarded

16 years agoread_ahead
Igor Sysoev [Wed, 30 Sep 2009 13:21:52 +0000 (13:21 +0000)]
read_ahead

16 years agoLinux/SPARC malloc() returns an address aligned to 8. This conflicts with
Igor Sysoev [Wed, 30 Sep 2009 12:56:44 +0000 (12:56 +0000)]
Linux/SPARC malloc() returns an address aligned to 8. This conflicts with
our SPARC 16-byte alignment and some allocations may be done out of pool.
ngx_memalign(ngx_pagesize) fixes this issue.

16 years agolog 499 instead 0, the bug was introduced in r3050
Igor Sysoev [Wed, 30 Sep 2009 12:05:08 +0000 (12:05 +0000)]
log 499 instead 0, the bug was introduced in r3050

16 years agoallow several perl_modules
Igor Sysoev [Wed, 30 Sep 2009 11:46:01 +0000 (11:46 +0000)]
allow several perl_modules

16 years agouse ngx_conf_set_str_array_slot() for perl_require
Igor Sysoev [Mon, 28 Sep 2009 16:07:14 +0000 (16:07 +0000)]
use ngx_conf_set_str_array_slot() for perl_require

16 years agooptimize error handling
Igor Sysoev [Mon, 28 Sep 2009 15:57:28 +0000 (15:57 +0000)]
optimize error handling

16 years agobump version
Igor Sysoev [Mon, 28 Sep 2009 15:56:28 +0000 (15:56 +0000)]
bump version

16 years agorelease-0.8.17 tag
Igor Sysoev [Mon, 28 Sep 2009 13:08:10 +0000 (13:08 +0000)]
release-0.8.17 tag

16 years agonginx-0.8.17-RELEASE release-0.8.17
Igor Sysoev [Mon, 28 Sep 2009 13:08:09 +0000 (13:08 +0000)]
nginx-0.8.17-RELEASE

16 years agofix request counter in resolver handling, the bug was introduced in r3050
Igor Sysoev [Mon, 28 Sep 2009 12:31:47 +0000 (12:31 +0000)]
fix request counter in resolver handling, the bug was introduced in r3050

16 years agoallow "make clean" for OpenSSL, the bug was introduced in r2874
Igor Sysoev [Mon, 28 Sep 2009 12:24:09 +0000 (12:24 +0000)]
allow "make clean" for OpenSSL, the bug was introduced in r2874

16 years agowe do not need to increase request counter in this place,
Igor Sysoev [Mon, 28 Sep 2009 11:12:45 +0000 (11:12 +0000)]
we do not need to increase request counter in this place,
the bug had appeared in r3115

16 years agofix r3078: do not increase request counter if body has been just discarded
Igor Sysoev [Sat, 26 Sep 2009 13:24:15 +0000 (13:24 +0000)]
fix r3078: do not increase request counter if body has been just discarded

16 years agouse parents around NGX_ATOMIC_T_LEN value
Igor Sysoev [Fri, 25 Sep 2009 20:25:47 +0000 (20:25 +0000)]
use parents around NGX_ATOMIC_T_LEN value

16 years agouniform ngx_directio_on/off() interface with other file functions
Igor Sysoev [Fri, 25 Sep 2009 14:17:28 +0000 (14:17 +0000)]
uniform ngx_directio_on/off() interface with other file functions

16 years agohandle short pwrite() to log an error cause: ENOSPC, EDQUOT, or EFBIG
Igor Sysoev [Fri, 25 Sep 2009 13:55:46 +0000 (13:55 +0000)]
handle short pwrite() to log an error cause: ENOSPC, EDQUOT, or EFBIG

16 years agofix discarding body
Igor Sysoev [Fri, 25 Sep 2009 11:55:33 +0000 (11:55 +0000)]
fix discarding body

16 years agocheck unsafe Destination
Igor Sysoev [Fri, 25 Sep 2009 09:30:06 +0000 (09:30 +0000)]
check unsafe Destination

16 years agolow ENAMETOOLONG logging level
Igor Sysoev [Fri, 25 Sep 2009 09:13:08 +0000 (09:13 +0000)]
low ENAMETOOLONG logging level

16 years agofix r3155
Igor Sysoev [Thu, 24 Sep 2009 20:09:12 +0000 (20:09 +0000)]
fix r3155

16 years agotest incomplete WriteFile()
Igor Sysoev [Thu, 24 Sep 2009 20:05:21 +0000 (20:05 +0000)]
test incomplete WriteFile()

16 years agolog file name for read/write errors
Igor Sysoev [Thu, 24 Sep 2009 20:04:10 +0000 (20:04 +0000)]
log file name for read/write errors

16 years agodelete Win95 code
Igor Sysoev [Thu, 24 Sep 2009 19:55:35 +0000 (19:55 +0000)]
delete Win95 code

16 years agofix debug log message
Igor Sysoev [Thu, 24 Sep 2009 14:47:10 +0000 (14:47 +0000)]
fix debug log message

16 years ago$ssl_session_id
Igor Sysoev [Thu, 24 Sep 2009 14:45:28 +0000 (14:45 +0000)]
$ssl_session_id

16 years agoupdate the previous commit: use ngx_strlow()
Igor Sysoev [Thu, 24 Sep 2009 13:23:25 +0000 (13:23 +0000)]
update the previous commit: use ngx_strlow()

16 years ago$host is always in low case:
Igor Sysoev [Thu, 24 Sep 2009 13:15:50 +0000 (13:15 +0000)]
$host is always in low case:

*) move low case convertation from ngx_http_find_virtual_server()
   to ngx_http_validate_host()
*) add in ngx_http_validate_host() capability to copy host name in the pool
   allocated memory

16 years agolow default connection errors level from alert to error
Igor Sysoev [Wed, 23 Sep 2009 15:28:33 +0000 (15:28 +0000)]
low default connection errors level from alert to error

16 years agobump version
Igor Sysoev [Wed, 23 Sep 2009 15:27:17 +0000 (15:27 +0000)]
bump version

16 years agorelease-0.8.16 tag
Igor Sysoev [Tue, 22 Sep 2009 14:35:22 +0000 (14:35 +0000)]
release-0.8.16 tag

16 years agonginx-0.8.16-RELEASE release-0.8.16
Igor Sysoev [Tue, 22 Sep 2009 14:35:21 +0000 (14:35 +0000)]
nginx-0.8.16-RELEASE

16 years agofail if file size was changed
Igor Sysoev [Tue, 22 Sep 2009 09:44:57 +0000 (09:44 +0000)]
fail if file size was changed

16 years agofix typo in addition_types directive name
Igor Sysoev [Tue, 22 Sep 2009 09:06:15 +0000 (09:06 +0000)]
fix typo in addition_types directive name

16 years agofix request counter for post_action, the bug was introduced in r3050
Igor Sysoev [Mon, 21 Sep 2009 18:34:22 +0000 (18:34 +0000)]
fix request counter for post_action, the bug was introduced in r3050

16 years agoallow to log invalid $request in access_log always,
Igor Sysoev [Mon, 21 Sep 2009 15:55:56 +0000 (15:55 +0000)]
allow to log invalid $request in access_log always,
before it was logged only if error_log was set to info or debug level

16 years agofix resolver cache rbtree comparison
Igor Sysoev [Sat, 19 Sep 2009 16:15:13 +0000 (16:15 +0000)]
fix resolver cache rbtree comparison

16 years agorestore environ, this fixes segfault on reconfiguration failure when
Igor Sysoev [Fri, 18 Sep 2009 09:21:14 +0000 (09:21 +0000)]
restore environ, this fixes segfault on reconfiguration failure when
perl module creates new environment

16 years agofix comment
Igor Sysoev [Fri, 18 Sep 2009 09:12:40 +0000 (09:12 +0000)]
fix comment

16 years ago*) issue warning instead of failure: this is too common case
Igor Sysoev [Fri, 18 Sep 2009 09:10:16 +0000 (09:10 +0000)]
*) issue warning instead of failure: this is too common case
*) use ngx_log_error(), since OpenSSL does not set an error on the failure

16 years agofix memory leak in resolver
Igor Sysoev [Wed, 16 Sep 2009 13:48:11 +0000 (13:48 +0000)]
fix memory leak in resolver

16 years agowin32 ngx_file_info() utf8 support
Igor Sysoev [Wed, 16 Sep 2009 13:30:13 +0000 (13:30 +0000)]
win32 ngx_file_info() utf8 support

16 years agopreserve errno while ngx_free()
Igor Sysoev [Wed, 16 Sep 2009 13:28:20 +0000 (13:28 +0000)]
preserve errno while ngx_free()

16 years agodo not pass buf with empty cached response,
Igor Sysoev [Tue, 15 Sep 2009 15:12:03 +0000 (15:12 +0000)]
do not pass buf with empty cached response,
this fixes "zero size buf in output" alert

16 years agonginx always sent "Vary: Accept-Encoding",
Igor Sysoev [Tue, 15 Sep 2009 11:57:29 +0000 (11:57 +0000)]
nginx always sent "Vary: Accept-Encoding",
if both gzip_static and gzip_vary were on

16 years agoimage_filter_transparency
Igor Sysoev [Tue, 15 Sep 2009 11:55:17 +0000 (11:55 +0000)]
image_filter_transparency

16 years agofix alpha-channel transparency in PNG
Igor Sysoev [Tue, 15 Sep 2009 09:47:12 +0000 (09:47 +0000)]
fix alpha-channel transparency in PNG

16 years agoallow perl "sub{..."
Igor Sysoev [Tue, 15 Sep 2009 09:37:16 +0000 (09:37 +0000)]
allow perl "sub{..."

16 years agobump version
Igor Sysoev [Tue, 15 Sep 2009 09:36:09 +0000 (09:36 +0000)]
bump version

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

16 years agonginx-0.8.15-RELEASE release-0.8.15
Igor Sysoev [Mon, 14 Sep 2009 13:07:17 +0000 (13:07 +0000)]
nginx-0.8.15-RELEASE

16 years agotest space between "~" and regex in server_name and invalid_referers
Igor Sysoev [Mon, 14 Sep 2009 09:48:48 +0000 (09:48 +0000)]
test space between "~" and regex in server_name and invalid_referers

16 years agohandle "/../" case more reliably
Igor Sysoev [Mon, 14 Sep 2009 07:42:01 +0000 (07:42 +0000)]
handle "/../" case more reliably

16 years agofix request counter for X-Accel-Redirect, the bug was introduced in r3050
Igor Sysoev [Sun, 13 Sep 2009 13:45:32 +0000 (13:45 +0000)]
fix request counter for X-Accel-Redirect, the bug was introduced in r3050

16 years agofix case when the output filter should add incoming buffers
Igor Sysoev [Sun, 13 Sep 2009 06:28:17 +0000 (06:28 +0000)]
fix case when the output filter should add incoming buffers
while waiting on file AIO completion

16 years agostyle fix
Igor Sysoev [Sun, 13 Sep 2009 06:25:54 +0000 (06:25 +0000)]
style fix

16 years agofix transparency in GIF
Igor Sysoev [Sat, 12 Sep 2009 09:46:28 +0000 (09:46 +0000)]
fix transparency in GIF

16 years agoIf .domain.com, .sub.domain.com, and .domain-some.com were defined,
Igor Sysoev [Sat, 12 Sep 2009 09:28:37 +0000 (09:28 +0000)]
If .domain.com, .sub.domain.com, and .domain-some.com were defined,
then .sub.domain.com was matched by .domain.com: wildcard names hash
was built incorrectly due to sorting order issue of "." vs "-".
They were sorted as
    com.domain  com.domain-some  com.domain.sub
while they should be sorted as
    com.domain  com.domain.sub   com.domain-some
for correct hash building

16 years agostyle fix
Igor Sysoev [Fri, 11 Sep 2009 13:57:50 +0000 (13:57 +0000)]
style fix

16 years agofix request counter for rewrite or internal redirection cycle,
Igor Sysoev [Thu, 10 Sep 2009 16:34:09 +0000 (16:34 +0000)]
fix request counter for rewrite or internal redirection cycle,
the bug was introduced in r3050

16 years agofail if no file aio was found
Igor Sysoev [Thu, 10 Sep 2009 12:08:30 +0000 (12:08 +0000)]
fail if no file aio was found

16 years agoincrease request counter before an upstream cleanup because the cleanup
Igor Sysoev [Tue, 8 Sep 2009 11:37:50 +0000 (11:37 +0000)]
increase request counter before an upstream cleanup because the cleanup
decreases the counter via ngx_http_finalize_request(r, NGX_DONE),
the bug was introduced in r3050

16 years agofix request counter handling in perl module for $r->internal_redirect()
Igor Sysoev [Tue, 8 Sep 2009 11:33:32 +0000 (11:33 +0000)]
fix request counter handling in perl module for $r->internal_redirect()
and $r->has_request_body(), the bug was introduced in r3050

16 years agodo not pass incoming buf chain twice if data are ready,
Igor Sysoev [Mon, 7 Sep 2009 12:10:07 +0000 (12:10 +0000)]
do not pass incoming buf chain twice if data are ready,
the bug was introduced in r3072

16 years agobump version
Igor Sysoev [Mon, 7 Sep 2009 12:08:58 +0000 (12:08 +0000)]
bump version