]> git.kaiwu.me - nginx.git/log
nginx.git
15 years agorelease-0.7.67 tag
Igor Sysoev [Tue, 15 Jun 2010 09:55:01 +0000 (09:55 +0000)]
release-0.7.67 tag

15 years agonginx-0.7.67-RELEASE release-0.7.67
Igor Sysoev [Tue, 15 Jun 2010 09:55:00 +0000 (09:55 +0000)]
nginx-0.7.67-RELEASE

15 years agomerge r3615:
Igor Sysoev [Tue, 15 Jun 2010 09:51:58 +0000 (09:51 +0000)]
merge r3615:

do not free() stack allocated buffer

15 years agobump version
Igor Sysoev [Tue, 15 Jun 2010 09:50:55 +0000 (09:50 +0000)]
bump version

15 years agorelease-0.7.66 tag
Igor Sysoev [Mon, 7 Jun 2010 12:41:32 +0000 (12:41 +0000)]
release-0.7.66 tag

15 years agonginx-0.7.66-RELEASE release-0.7.66
Igor Sysoev [Mon, 7 Jun 2010 12:41:31 +0000 (12:41 +0000)]
nginx-0.7.66-RELEASE

15 years agomerge r3528:
Igor Sysoev [Mon, 7 Jun 2010 12:27:06 +0000 (12:27 +0000)]
merge r3528:

remove r->zero_in_uri

15 years agomerge r3518, r3527:
Igor Sysoev [Mon, 7 Jun 2010 12:23:23 +0000 (12:23 +0000)]
merge r3518, r3527:

cache related fixes:

*) do not cache response if it has "no-store" or "private"
   in "Cache-Control" header
*) proxy_no_cache and fastcgi_no_cache

15 years agomerge r3502:
Igor Sysoev [Mon, 7 Jun 2010 12:17:10 +0000 (12:17 +0000)]
merge r3502:

use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks

15 years agomerge r3498, r3499:
Igor Sysoev [Mon, 7 Jun 2010 12:08:44 +0000 (12:08 +0000)]
merge r3498, r3499:

opening files fixes:

*) use non-blocking open() not to hang on FIFO files, etc.
*) do not log misleading errno in "not a regular file" error

15 years agomerge r3489, r3493:
Igor Sysoev [Mon, 7 Jun 2010 11:55:20 +0000 (11:55 +0000)]
merge r3489, r3493:

*) MSVC8 compatibility with OpenSSL 1.0.0
*) fix building OpenSSL-1.0.0 on 64-bit Linux:
   make installs the libraries in lib64 directory

and build nginx/Windows against OpenSSL-0.9.8n

15 years agomerge r3487, r3525:
Igor Sysoev [Mon, 7 Jun 2010 11:51:37 +0000 (11:51 +0000)]
merge r3487, r3525:

rewrite fixes:

*) escape ampersand in argument while rewrite
*) autodetect redirect if URI is rewritten to a string starting with $scheme

15 years agomerge r3488:
Igor Sysoev [Mon, 7 Jun 2010 11:49:03 +0000 (11:49 +0000)]
merge r3488:

revert partially r1555 and fix the error "memcached sent invalid trailer"

15 years agomerge r3482:
Igor Sysoev [Mon, 7 Jun 2010 11:48:19 +0000 (11:48 +0000)]
merge r3482:

do not set file time in ngx_copy_file() if the time is -1,
this fixes an issue when file is moved across devices

15 years agomerge r3515:
Igor Sysoev [Mon, 7 Jun 2010 11:46:43 +0000 (11:46 +0000)]
merge r3515:

fix segfault: ngx_http_upstream_cleanup() cleans r->cleanup,
the bug had been introduced in r3426

15 years agomerge r3478:
Igor Sysoev [Mon, 7 Jun 2010 11:45:04 +0000 (11:45 +0000)]
merge r3478:

reset a parsing state to parse correctly an upstream response,
if 400 or 414 response has been redirected to upstream

15 years agomerge r3477:
Igor Sysoev [Mon, 7 Jun 2010 10:37:58 +0000 (10:37 +0000)]
merge r3477:

zlib 1.2.4 compatibility

15 years agomerge r3473, r3474, r3385, r3386, r3537:
Igor Sysoev [Mon, 7 Jun 2010 10:35:08 +0000 (10:35 +0000)]
merge r3473, r3474, r3385, r3386, r3537:

signal processing stability:

*) use sys_errlist[] in signal handler instead
   of non Async-Signal-Safe strerror_r()
*) do not update time in the timer signal handler,
   since localtime_r() is not Async-Signal-Safe function
*) use previously cached GMT offset value to update time from a signal handler
*) change ngx_time_update() interface since there are no notification methods
   those return time
*) introduce ngx_time_sigsafe_update() to update the error log time only
*) change ngx_time_update() interface

15 years agomerge r3464, r3500, r3501:
Igor Sysoev [Mon, 7 Jun 2010 10:26:50 +0000 (10:26 +0000)]
merge r3464, r3500, r3501:

*) make $request_method non-cacheable
*) make $arg_ variables non-cacheable
*) change processing variables accessed by SSI and perl module:
   *) the indexed variables are always flushed
   *) never show warning for not found variables

15 years agomerge r3460:
Igor Sysoev [Mon, 7 Jun 2010 10:15:21 +0000 (10:15 +0000)]
merge r3460:

allow HTTPS referers

15 years agomerge r3459, r3571:
Igor Sysoev [Mon, 7 Jun 2010 10:14:11 +0000 (10:14 +0000)]
merge r3459, r3571:

Win32 fixes:

*) compare long file names in case-insensitive mode,
   the bug had been introduced in r3436
*) test default NTFS stream "::$DATA"

15 years agomerge r3456, r3458, r3465:
Igor Sysoev [Mon, 7 Jun 2010 10:09:14 +0000 (10:09 +0000)]
merge r3456, r3458, r3465:

SSL fixes:

*) decrease SSL handshake error level to info
*) Set SSL session context for "ssl_session_cache none".
   This fixes a bug when client certficate is used and nginx closes connection
   with the message: "SSL_GET_PREV_SESSION:session id context uninitialized".
*) add OpenSSL_add_all_algorithms(), this fixes the error
   "ASN1_item_verify:unknown message digest algorithm" occurred if
   client certificate is signed using sha256WithRSAEncryption

15 years agomerge r3457:
Igor Sysoev [Mon, 7 Jun 2010 10:04:13 +0000 (10:04 +0000)]
merge r3457:

fix a geo range if the range includes two or more /16 networks
and does not begin at /16 network boundary

15 years agomerge r3454, r3455, r3486, r3496, r3519, r3523:
Igor Sysoev [Mon, 7 Jun 2010 09:54:19 +0000 (09:54 +0000)]
merge r3454, r3455, r3486, r3496, r3519, r3523:

SSI fixes:

*) use content type of the parent request in SSI stub block output
   instead of default one
*) SSI %s timefmt has no timezone offset
*) change ngx_http_ssi_filter and ngx_http_charset_filter order
*) do not store an encoded variable value as a new cached variable value
*) fix SSI include stub for valid empty responses
*) allow to use $uid_got in SSI and perl module

15 years agomerge r3452, r3462, r3471, r3472:
Igor Sysoev [Mon, 7 Jun 2010 09:36:33 +0000 (09:36 +0000)]
merge r3452, r3462, r3471, r3472:

fix miscellaneous name bugs:

*) fix $upstream_http_ variable prefix length
*) use a right "Location" header name, however, it did not harm,
   since ngx_http_variable_sent_location() never use key name field
*) fix proxy_redirect name in error message
*) "proxy_redirect default" may not be used if a proxy_pass uses variables

15 years agomerge r3451, r3506:
Igor Sysoev [Mon, 7 Jun 2010 09:25:39 +0000 (09:25 +0000)]
merge r3451, r3506:

mail related fixes:

*) delete surplus code
*) Zimbra IMAP server may return only 4 bytes: "+ \r\n"

15 years agomerge r3412, r3485:
Igor Sysoev [Mon, 7 Jun 2010 09:19:10 +0000 (09:19 +0000)]
merge r3412, r3485:

*) allow a chunked body for 201 responses
*) chunked_transfer_encoding

15 years agomerge r3399:
Igor Sysoev [Mon, 7 Jun 2010 09:06:39 +0000 (09:06 +0000)]
merge r3399:

$geoip_city_continent_code, $geoip_latitude, $geoip_longitude

15 years agomerge r3394, r3395:
Igor Sysoev [Mon, 7 Jun 2010 09:05:18 +0000 (09:05 +0000)]
merge r3394, r3395:

force image filter conversion if JPEG application data consume more than 5%

15 years agomerge r3368, r3392:
Igor Sysoev [Mon, 7 Jun 2010 09:01:46 +0000 (09:01 +0000)]
merge r3368, r3392:

./configure related fixes:

*) test invalid --with-ld-opt in right place
*) do not add NGX_GCC_OPT twice: it is added later with -W

15 years agomerge r3318, r3449:
Igor Sysoev [Mon, 7 Jun 2010 08:51:48 +0000 (08:51 +0000)]
merge r3318, r3449:

perl related fixes:

*) do not log error if $r->variable was not found
*) delete ngx_http_perl_cleanup_t unused since r909

15 years agomerge r3316, r3317, r3420, r3421, r3453:
Igor Sysoev [Fri, 4 Jun 2010 17:47:04 +0000 (17:47 +0000)]
merge r3316, r3317, r3420, r3421, r3453:

browsers related fixes:

*) add MSIE padding for Chrome too
*) disable keepalive for Safari:
       https://bugs.webkit.org/show_bug.cgi?id=5760
*) do not disable keepalive after POST requests for MSIE 7+

15 years agobump version
Igor Sysoev [Fri, 4 Jun 2010 17:38:59 +0000 (17:38 +0000)]
bump version

16 years agorelease-0.7.65 tag
Igor Sysoev [Mon, 1 Feb 2010 16:09:16 +0000 (16:09 +0000)]
release-0.7.65 tag

16 years agonginx-0.7.65-RELEASE release-0.7.65
Igor Sysoev [Mon, 1 Feb 2010 16:09:15 +0000 (16:09 +0000)]
nginx-0.7.65-RELEASE

16 years agomerge r3406:
Igor Sysoev [Mon, 1 Feb 2010 15:56:45 +0000 (15:56 +0000)]
merge r3406:

fix negative time in "Cache-Control" if "expires modified" sets time in the past

16 years agomerge r3351, r3352:
Igor Sysoev [Mon, 1 Feb 2010 15:55:48 +0000 (15:55 +0000)]
merge r3351, r3352:

perl exit fixes:

*) use global perl variable in perl_destruct()/perl_free()
   for non-mulitiplicity perl
*) add comment from r2716 commit message

16 years agomerge r3309, r3314, r3315, r3380:
Igor Sysoev [Mon, 1 Feb 2010 15:54:02 +0000 (15:54 +0000)]
merge r3309, r3314, r3315, r3380:

gzip headers related fixes:

*) remove "Content-Encoding: gzip" in 304 response
   sent by ngx_http_gzip_static_module
*) refactor gzip_vary handling
*) test r->header_only last, since it's not actually
   frequent here: 304 and HEAD responses are not set it before the filter

16 years agomerge r3294, r3305:
Igor Sysoev [Mon, 1 Feb 2010 15:49:36 +0000 (15:49 +0000)]
merge r3294, r3305:

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 agomerge r3137, r3198, r3199, r3353, r3370, r3371, r3398, r3399:
Igor Sysoev [Mon, 1 Feb 2010 15:46:14 +0000 (15:46 +0000)]
merge r3137, r3198, r3199, r3353, r3370, r3371, r3398, r3399:

cache related fixes:

*) do not pass buf with empty cached response,
   this fixes "zero size buf in output" alert
*) hide cacheable Set-Cookie and P3P FastCGI response headers
*) test comma separator in "Cache-Control"
*) a cache manager thread handle was overwritten by a cache loader thread
   handle, this caused an exit delay, the bug had been introduced in r3248
*) fix handling cached HTTP/0.9 response
*) log proxied HTTP/0.9 responses status as "009"
*) fix the "If-None-Match" header name
*) fix a cached zero-length body case

16 years agomerge r3286:
Igor Sysoev [Mon, 1 Feb 2010 15:32:57 +0000 (15:32 +0000)]
merge r3286:

use setproctitle("%s", title)

16 years agomerge r3283, r3284:
Igor Sysoev [Mon, 1 Feb 2010 15:20:43 +0000 (15:20 +0000)]
merge r3283, r3284:

fix segfault if $limit_rate was logged
fix segfault in SSL if limit_rate is used

16 years agomerge r3282:
Igor Sysoev [Mon, 1 Feb 2010 15:17:12 +0000 (15:17 +0000)]
merge r3282:

fix "if (!-x ...)"

16 years agomerge r3138, r3139, r3157, r3158, r3159, r3164, r3165,
Igor Sysoev [Mon, 1 Feb 2010 15:06:25 +0000 (15:06 +0000)]
merge r3138, r3139, r3157, r3158, r3159, r3164, r3165,
      r3202, r3203, r3383, r3388, r3417, r3418:

Win32 (mostly) and some Unix file related fixes:

*) preserve errno while ngx_free()
*) win32 ngx_file_info() utf8 support
*) delete Win95 code
*) log file name for read/write errors
*) test incomplete WriteFile()
*) handle short pwrite() to log an error cause: ENOSPC, EDQUOT, or EFBIG
*) uniform ngx_directio_on/off() interface with other file functions
*) do not create Win32 drive letter in ngx_create_full_path()
*) ignore EACCES errors for top level directories in ngx_create_full_path()
*) fix Win32 error messages when an temporary file replaces an existent file:
   *) do not rename an already renamed file
   *) now ngx_win32_rename_file() returns error code
   *) do not log failure inside ngx_win32_rename_file()
*) fix Win32 error message when an temporary file replaces an existent file:
   return at once if ngx_win32_rename_file() was not failed
   and do not try to delete already the renamed temporary file
*) skip URI trailing spaces under Win32
*) disable Win32 short file names

16 years agomerge r3208, r3209:
Igor Sysoev [Mon, 1 Feb 2010 14:55:53 +0000 (14:55 +0000)]
merge r3208, r3209:

ngx_http_parse_time() fixes:

*) use ngx_uint_t instead of int,
   strange to say this reduce function size by 16 bytes
*) ngx_http_parse_time() should support full 32-bit time

16 years agomerge r3201, r3204, r3411:
Igor Sysoev [Mon, 1 Feb 2010 14:52:25 +0000 (14:52 +0000)]
merge r3201, r3204, r3411:

ngx_http_autoindex_module fixes:

*) 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

*) fix ngx_utf8_cpystrn(): it did not fully copy utf-8 string

16 years agomerge r3200:
Igor Sysoev [Mon, 1 Feb 2010 14:44:43 +0000 (14:44 +0000)]
merge r3200:

nginx did not close log file set by --error-log-path,
the bug was introduced in r2744

16 years agomerge r3163, r3213:
Igor Sysoev [Mon, 1 Feb 2010 14:42:38 +0000 (14:42 +0000)]
merge r3163, r3213:

*) fix discarding body
*) prevent handling discarded body as a pipelined request

16 years agomerge r3155, r3156, r3160, r969, r3191, r3197, r3358:
Igor Sysoev [Mon, 1 Feb 2010 14:39:16 +0000 (14:39 +0000)]
merge r3155, r3156, r3160, r969, r3191, r3197, r3358:

SSL fixes:

*) $ssl_session_id
*) allow "make clean" for OpenSSL, the bug was introduced in r2874
*) disable SSLv2 and use only strong ciphers by default
*) decrease SSL handshake error level to info

16 years agomerge r3148, r3152, r3161:
Igor Sysoev [Mon, 1 Feb 2010 14:31:26 +0000 (14:31 +0000)]
merge r3148, r3152, r3161:

error processing fixes:

*) fail if file size was changed
*) low default connection errors level from alert to error
*) low ENAMETOOLONG logging level

16 years agomerge r3147:
Igor Sysoev [Mon, 1 Feb 2010 14:24:20 +0000 (14:24 +0000)]
merge r3147:

fix typo in addition_types directive name

16 years agomerge r3153, r3154, r3288, r3382:
Igor Sysoev [Mon, 1 Feb 2010 14:16:45 +0000 (14:16 +0000)]
merge r3153, r3154, r3288, r3382:

request header processing fixes:

*) $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
*) fix segfault if there is single large_client_header_buffers
   and a request line fills it completely
*) default large_client_header_buffers' buffer size should be 8K as compatible
   with Apache's one

16 years agomerge r3039, r3145:
Igor Sysoev [Mon, 1 Feb 2010 14:04:20 +0000 (14:04 +0000)]
merge r3039, r3145:

access_log fixes:

*) strict testing "access_log off"
*) 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 agomerge r2990, r3324, r3384, r3419:
Igor Sysoev [Mon, 1 Feb 2010 14:01:24 +0000 (14:01 +0000)]
merge r2990, r3324, r3384, r3419:

various proxy/FastCGI fixes:

*) do auto redirect for proxy_pass/fastcgi_pass with variables
*) allow "proxy_pass  http://$backend" without URI part
*) add conf/fastcgi.conf
*) delete u->cleanup mark, this fixes large values in $upstream_response_time,
   the bug had been introduced in r3246

16 years agomerge r3408:
Igor Sysoev [Mon, 1 Feb 2010 13:53:14 +0000 (13:53 +0000)]
merge r3408:

update year

16 years agobump version
Igor Sysoev [Mon, 1 Feb 2010 13:50:03 +0000 (13:50 +0000)]
bump version

16 years agorelease-0.7.64 tag
Igor Sysoev [Mon, 16 Nov 2009 15:29:47 +0000 (15:29 +0000)]
release-0.7.64 tag

16 years agonginx-0.7.64-RELEASE release-0.7.64
Igor Sysoev [Mon, 16 Nov 2009 15:29:46 +0000 (15:29 +0000)]
nginx-0.7.64-RELEASE

16 years agor3301 merge:
Igor Sysoev [Mon, 16 Nov 2009 15:24:39 +0000 (15:24 +0000)]
r3301 merge:

disable SSL renegotiation (CVE-2009-3555)

16 years agor3141 merge:
Igor Sysoev [Mon, 16 Nov 2009 15:22:03 +0000 (15:22 +0000)]
r3141 merge:

fix posix_memalign() error handling

16 years agor3313 merge:
Igor Sysoev [Mon, 16 Nov 2009 15:16:47 +0000 (15:16 +0000)]
r3313 merge:

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 r3250

16 years agor3140, r3144, r3298, r3299, r3300, r3307, r3308 merge:
Igor Sysoev [Mon, 16 Nov 2009 15:13:02 +0000 (15:13 +0000)]
r3140, r3144, r3298, r3299, r3300, r3307, r3308 merge:

resolver fixes:

*) fix memory leak in resolver
*) fix resolver cache rbtree comparison
*) fix segfault in resolver:
   ngx_resolve_name_done() and ngx_resolve_addr_done() did not delete
   contexts from a resolver node waiting list.
*) fix "PTR ." case in address resolver
*) add quotes in an error message,
*) fix resolving an empty name (".")
*) use ngx_resolver_alloc() instead of ngx_resolver_calloc()
   since all fields are filled

16 years agor3117, r3123, r3229 merge:
Igor Sysoev [Mon, 16 Nov 2009 15:00:13 +0000 (15:00 +0000)]
r3117, r3123, r3229 merge:

server name related merges:

*) 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

*) test space between "~" and regex in server_name and invalid_referers

*) do not run regex for empty host name since regex always fails in this case,
   the bug had been introduced in r2196

16 years agobump version
Igor Sysoev [Mon, 16 Nov 2009 14:52:22 +0000 (14:52 +0000)]
bump version

16 years agorelease-0.7.63 tag
Igor Sysoev [Mon, 26 Oct 2009 17:57:37 +0000 (17:57 +0000)]
release-0.7.63 tag

16 years agonginx-0.7.63-RELEASE release-0.7.63
Igor Sysoev [Mon, 26 Oct 2009 17:57:36 +0000 (17:57 +0000)]
nginx-0.7.63-RELEASE

16 years agomerge r3185:
Igor Sysoev [Mon, 26 Oct 2009 17:46:25 +0000 (17:46 +0000)]
merge r3185:

fix building by gcc45

16 years agomerge r3162, r3183:
Igor Sysoev [Mon, 26 Oct 2009 17:45:55 +0000 (17:45 +0000)]
merge r3162, r3183:

WebDAV fixes:

*) check unsafe Destination
*) omit '\0' from "Location" header on MKCOL request

16 years agomerge r3079:
Igor Sysoev [Mon, 26 Oct 2009 17:40:07 +0000 (17:40 +0000)]
merge r3079:

discard request body before returning 413 error,
this fixes custom 413 page redirection bug introduced in r1456

16 years agomerge r2976:
Igor Sysoev [Mon, 26 Oct 2009 17:37:18 +0000 (17:37 +0000)]
merge r2976:

allow underscore in request method

16 years agomerge r3055, r3136:
Igor Sysoev [Mon, 26 Oct 2009 17:34:43 +0000 (17:34 +0000)]
merge r3055, r3136:

gzip related fixes:

*) do not disable gzip for MSIE 6.0 SV1 in "gzip_disable msie6"
*) nginx always sent "Vary: Accept-Encoding",
   if both gzip_static and gzip_vary were on

16 years agomerge r3024, r3025, r3028, r3033, r3034, r3035, r3036:
Igor Sysoev [Mon, 26 Oct 2009 17:32:17 +0000 (17:32 +0000)]
merge r3024, r3025, r3028, r3033, r3034, r3035, r3036:

allow cross device temporary files atomic copying

16 years agomerge r3017, r3018, r3019, r3020, r3021, r3022, r3023, r3196:
Igor Sysoev [Mon, 26 Oct 2009 17:23:49 +0000 (17:23 +0000)]
merge r3017, r3018, r3019, r3020, r3021, r3022, r3023, r3196:

cache management fixes:

*) separate cache loader process
*) use real file cache length, this fixes cache size counting for responses
   without "Content-Length" header and 304 responses.

16 years agomerge r3004, r3005, r3006:
Igor Sysoev [Mon, 26 Oct 2009 17:13:44 +0000 (17:13 +0000)]
merge r3004, r3005, r3006:

various header fixes:

*) allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect",
   "X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset"
*) fix handling "Last-Modified" and "Accept-Ranges" for upstream responses
*) clear "Accept-Ranges" for SSI responses

16 years agomerge r3001, r3007, r3013:
Igor Sysoev [Mon, 26 Oct 2009 17:09:27 +0000 (17:09 +0000)]
merge r3001, r3007, r3013:

fix variuos segfaults:

*) fix segfault if 400 or 414 errors are handled intricately
*) ngx_http_upstream_create() to cleanup the previous upstream after
   internal redirect

16 years agomerge r2999, r3118, r3134, r3135:
Igor Sysoev [Mon, 26 Oct 2009 16:56:49 +0000 (16:56 +0000)]
merge r2999, r3118, r3134, r3135:

various image filter fixes and features:

*) variables support in image_filter
*) fix transparency in GIF
*) fix alpha-channel transparency in PNG
*) image_filter_transparency

16 years agomerge r2995, r2996, r2997, r2998, r3003, r3141, r3210, r3211, r3232:
Igor Sysoev [Mon, 26 Oct 2009 16:53:34 +0000 (16:53 +0000)]
merge r2995, r2996, r2997, r2998, r3003, r3141, r3210, r3211, r3232:

various SSL fixes and features:

*) $ssl_client_verify
*) "ssl_verify_client ask" was changed to "ssl_verify_client optional"
*) ssl_crl
*) delete OpenSSL pre-0.9.7 compatibility: the sources were not actually
   compatible with OpenSSL 0.9.6 since ssl_session_cache introduction
*) fix memory corruption in $ssl_client_cert
*) issue SNI warning instead of failure: this is too common case
*) use ngx_log_error(), since OpenSSL does not set an error on the failure
*) add SNI support in -V output

16 years agomerge r2993:
Igor Sysoev [Mon, 26 Oct 2009 16:42:19 +0000 (16:42 +0000)]
merge r2993:

geo module supports trusted proxies

16 years agomerge r2986, r2992, r3032:
Igor Sysoev [Mon, 26 Oct 2009 16:38:44 +0000 (16:38 +0000)]
merge r2986, r2992, r3032:

ngx_http_geoip_module

16 years agomerge r2973, r2974, r3184, r3192, r3186, r3187:
Igor Sysoev [Mon, 26 Oct 2009 16:30:34 +0000 (16:30 +0000)]
merge r2973, r2974, r3184, r3192, r3186, r3187:

various limit_req and limit_conn fixes:

*) fix client write event handling in ngx_http_limit_req_module
*) make limit_req to conform to the leaky bucket algorithm
*) limit_req_log_level
*) limit_conn_log_level

16 years agomerge r2972, r2994, r3133, r3142, r3143, r3174, r3175, r3176:
Igor Sysoev [Mon, 26 Oct 2009 16:22:24 +0000 (16:22 +0000)]
merge r2972, r2994, r3133, r3142, r3143, r3174, r3175, r3176:

various perl fixes:

*) fix ngx_http_send_special() for subrequests handled by perl
*) allow perl "sub{..."
*) restore environ, this fixes segfault on reconfiguration failure when
   perl module creates new environment
*) optimize error handling
*) use ngx_conf_set_str_array_slot() for perl_require
*) allow several perl_modules

16 years agomerge r2920, r2934, r3116, r3119:
Igor Sysoev [Mon, 26 Oct 2009 16:06:11 +0000 (16:06 +0000)]
merge r2920, r2934, r3116, r3119:

style fixes

16 years agomerge r2903, r2911, r2912, r3002:
Igor Sysoev [Mon, 26 Oct 2009 15:54:29 +0000 (15:54 +0000)]
merge r2903, r2911, r2912, r3002:

fix various failures handling

16 years agomerge r2908:
Igor Sysoev [Mon, 26 Oct 2009 15:46:59 +0000 (15:46 +0000)]
merge r2908:

limit_rate_after

16 years agomerge r2890, r2891, r2892:
Igor Sysoev [Mon, 26 Oct 2009 15:37:54 +0000 (15:37 +0000)]
merge r2890, r2891, r2892:

refactor ngx_http_charset_header_filter()

16 years agobump version
Igor Sysoev [Mon, 26 Oct 2009 15:32:50 +0000 (15:32 +0000)]
bump version

16 years agorelease-0.7.62 tag
Igor Sysoev [Mon, 14 Sep 2009 13:09:55 +0000 (13:09 +0000)]
release-0.7.62 tag

16 years agonginx-0.7.62-RELEASE release-0.7.62
Igor Sysoev [Mon, 14 Sep 2009 13:09:54 +0000 (13:09 +0000)]
nginx-0.7.62-RELEASE

16 years agomerge r3047, r3048, r3049:
Igor Sysoev [Mon, 7 Sep 2009 11:31:20 +0000 (11:31 +0000)]
merge r3047, r3048, r3049:

twice termination delay only after SIGALRM, otherwise many separate SIGCHLD
and SIGIO signals quickly increase delay to the level when SIGKILL is sent

16 years agor3040:
Igor Sysoev [Mon, 7 Sep 2009 11:27:37 +0000 (11:27 +0000)]
r3040:

fix Linux "uname -r" version matching

16 years agomerge r3038:
Igor Sysoev [Mon, 7 Sep 2009 11:27:07 +0000 (11:27 +0000)]
merge r3038:

process upstream ETag header

16 years agomerge r3037:
Igor Sysoev [Mon, 7 Sep 2009 11:26:40 +0000 (11:26 +0000)]
merge r3037:

the flags should be bit-wide only

16 years agomerge r3076, r3077, r3080:
Igor Sysoev [Mon, 7 Sep 2009 11:11:24 +0000 (11:11 +0000)]
merge r3076, r3077, r3080:

fix invalid header logging:

*) fix segfault when a header starts with "\rX"
   and logging is set to info or debug level
*) use %*s instead of %V

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