]> git.kaiwu.me - nginx.git/log
nginx.git
17 years agoXFS on Linux does not set dirent.d_type,
Igor Sysoev [Fri, 6 Mar 2009 13:01:21 +0000 (13:01 +0000)]
XFS on Linux does not set dirent.d_type,
therefore fallback to stat() if dirent.d_type is not set,
this fixes slash after directory name in ngx_http_autoindex_module;
the issue has been introduced in r2235

17 years agocaptures support in server_name
Igor Sysoev [Fri, 6 Mar 2009 12:50:20 +0000 (12:50 +0000)]
captures support in server_name

17 years agocaptures support in location and alias
Igor Sysoev [Fri, 6 Mar 2009 12:49:22 +0000 (12:49 +0000)]
captures support in location and alias

17 years agonow regex captures are per-request entities
Igor Sysoev [Fri, 6 Mar 2009 12:15:07 +0000 (12:15 +0000)]
now regex captures are per-request entities

17 years agopclcf->regex_locations are used with PCRE only
Igor Sysoev [Thu, 5 Mar 2009 08:24:17 +0000 (08:24 +0000)]
pclcf->regex_locations are used with PCRE only

17 years agobump version
Igor Sysoev [Thu, 5 Mar 2009 08:22:45 +0000 (08:22 +0000)]
bump version

17 years agorelease-0.7.39 tag
Igor Sysoev [Mon, 2 Mar 2009 12:43:10 +0000 (12:43 +0000)]
release-0.7.39 tag

17 years agonginx-0.7.39-RELEASE release-0.7.39
Igor Sysoev [Mon, 2 Mar 2009 12:43:09 +0000 (12:43 +0000)]
nginx-0.7.39-RELEASE

17 years agofix postponed zlib memory allocation, introduced in r2411
Igor Sysoev [Sun, 1 Mar 2009 19:24:11 +0000 (19:24 +0000)]
fix postponed zlib memory allocation, introduced in r2411

*) introduce postpone_gzipping directive
*) disable postponed gzipping by default

The r2411 commit caused hangings up on large SSIed responses
as SSI cleared buf->recycled bit on copy of recycled buf parts

17 years agofix case when the first try is shorter then URI
Igor Sysoev [Sun, 1 Mar 2009 19:10:36 +0000 (19:10 +0000)]
fix case when the first try is shorter then URI

17 years agolower ECONNRESET level
Igor Sysoev [Wed, 25 Feb 2009 14:27:34 +0000 (14:27 +0000)]
lower ECONNRESET level

17 years agofix segfault introduced in r2486 in $sent_http_location processing
Igor Sysoev [Tue, 24 Feb 2009 22:02:08 +0000 (22:02 +0000)]
fix segfault introduced in r2486 in $sent_http_location processing

17 years agofix the previous commit
Igor Sysoev [Tue, 24 Feb 2009 14:25:24 +0000 (14:25 +0000)]
fix the previous commit

17 years agoprepare ngx_ptocidr() for IPv6
Igor Sysoev [Tue, 24 Feb 2009 14:01:40 +0000 (14:01 +0000)]
prepare ngx_ptocidr() for IPv6

17 years agosmall optimization: " == NGX_ERROR" > " != NGX_OK"
Igor Sysoev [Tue, 24 Feb 2009 10:42:23 +0000 (10:42 +0000)]
small optimization: " == NGX_ERROR" > " != NGX_OK"

17 years agouse variable for often used field
Igor Sysoev [Tue, 24 Feb 2009 08:32:02 +0000 (08:32 +0000)]
use variable for often used field

17 years agomove r->virtual_names to ngx_http_core_srv_conf_t
Igor Sysoev [Tue, 24 Feb 2009 07:56:47 +0000 (07:56 +0000)]
move r->virtual_names to ngx_http_core_srv_conf_t

17 years agoaxe r->port_text
Igor Sysoev [Tue, 24 Feb 2009 07:29:55 +0000 (07:29 +0000)]
axe r->port_text

17 years agoremove seldom used variable
Igor Sysoev [Tue, 24 Feb 2009 07:21:35 +0000 (07:21 +0000)]
remove seldom used variable

17 years agofix r2530
Igor Sysoev [Tue, 24 Feb 2009 07:12:39 +0000 (07:12 +0000)]
fix r2530

17 years agoaxe unneeded port field
Igor Sysoev [Mon, 23 Feb 2009 21:30:31 +0000 (21:30 +0000)]
axe unneeded port field

17 years agoaxe r->port
Igor Sysoev [Mon, 23 Feb 2009 21:19:35 +0000 (21:19 +0000)]
axe r->port

17 years agoaxe r->in_addr
Igor Sysoev [Mon, 23 Feb 2009 21:05:10 +0000 (21:05 +0000)]
axe r->in_addr

17 years agobump version
Igor Sysoev [Mon, 23 Feb 2009 21:02:18 +0000 (21:02 +0000)]
bump version

17 years agorelease-0.7.38 tag
Igor Sysoev [Mon, 23 Feb 2009 16:01:24 +0000 (16:01 +0000)]
release-0.7.38 tag

17 years agonginx-0.7.38-RELEASE release-0.7.38
Igor Sysoev [Mon, 23 Feb 2009 16:01:23 +0000 (16:01 +0000)]
nginx-0.7.38-RELEASE

17 years agoname/password were ignored after odd empty lines
Igor Sysoev [Mon, 23 Feb 2009 15:31:18 +0000 (15:31 +0000)]
name/password were ignored after odd empty lines

17 years agoadd auth basic failure logging
Igor Sysoev [Mon, 23 Feb 2009 15:15:42 +0000 (15:15 +0000)]
add auth basic failure logging

17 years agofix message
Igor Sysoev [Mon, 23 Feb 2009 09:42:35 +0000 (09:42 +0000)]
fix message

17 years agofix NGX_SOCKADDRLEN, introduced in r2513
Igor Sysoev [Sat, 21 Feb 2009 15:13:13 +0000 (15:13 +0000)]
fix NGX_SOCKADDRLEN, introduced in r2513

17 years agobump version
Igor Sysoev [Sat, 21 Feb 2009 14:55:58 +0000 (14:55 +0000)]
bump version

17 years agorelease-0.7.37 tag
Igor Sysoev [Sat, 21 Feb 2009 14:42:39 +0000 (14:42 +0000)]
release-0.7.37 tag

17 years agonginx-0.7.37-RELEASE release-0.7.37
Igor Sysoev [Sat, 21 Feb 2009 14:42:38 +0000 (14:42 +0000)]
nginx-0.7.37-RELEASE

17 years agofix upstream port, introduced in r2513
Igor Sysoev [Sat, 21 Feb 2009 14:34:32 +0000 (14:34 +0000)]
fix upstream port, introduced in r2513

17 years agofix implicit listen, introduced in r2513
Igor Sysoev [Sat, 21 Feb 2009 10:23:30 +0000 (10:23 +0000)]
fix implicit listen, introduced in r2513

17 years agobump version
Igor Sysoev [Sat, 21 Feb 2009 09:44:57 +0000 (09:44 +0000)]
bump version

17 years agorelease-0.7.36 tag
Igor Sysoev [Sat, 21 Feb 2009 07:26:18 +0000 (07:26 +0000)]
release-0.7.36 tag

17 years agonginx-0.7.36-RELEASE release-0.7.36
Igor Sysoev [Sat, 21 Feb 2009 07:26:17 +0000 (07:26 +0000)]
nginx-0.7.36-RELEASE

17 years agoa prelimiary IPv6 support, HTTP listen
Igor Sysoev [Sat, 21 Feb 2009 07:02:02 +0000 (07:02 +0000)]
a prelimiary IPv6 support, HTTP listen

17 years agosplit ports, addresses, and server names preparation and optimization
Igor Sysoev [Wed, 18 Feb 2009 16:17:12 +0000 (16:17 +0000)]
split ports, addresses, and server names preparation and optimization

17 years agoadd debug logging
Igor Sysoev [Wed, 18 Feb 2009 09:24:14 +0000 (09:24 +0000)]
add debug logging

17 years agothe $ancient_browser variables did not treat as an ancient browser
Igor Sysoev [Wed, 18 Feb 2009 09:23:47 +0000 (09:23 +0000)]
the $ancient_browser variables did not treat as an ancient browser
listed in modern_browser, but has lower version

17 years agoset MIME-type length,
Igor Sysoev [Tue, 17 Feb 2009 08:37:36 +0000 (08:37 +0000)]
set MIME-type length,
otherwise ngx_http_test_content_type() did not find "image/gif"

17 years agobump version
Igor Sysoev [Mon, 16 Feb 2009 14:55:10 +0000 (14:55 +0000)]
bump version

17 years agorelease-0.7.35 tag
Igor Sysoev [Mon, 16 Feb 2009 13:58:44 +0000 (13:58 +0000)]
release-0.7.35 tag

17 years agonginx-0.7.35-RELEASE release-0.7.35
Igor Sysoev [Mon, 16 Feb 2009 13:58:43 +0000 (13:58 +0000)]
nginx-0.7.35-RELEASE

17 years agoload SSL engine before certificates,
Igor Sysoev [Mon, 16 Feb 2009 13:37:58 +0000 (13:37 +0000)]
load SSL engine before certificates,
otherwise RSA keys will use built-in RSA methods

17 years agoset content-type for try_files' choice
Igor Sysoev [Sat, 14 Feb 2009 17:26:26 +0000 (17:26 +0000)]
set content-type for try_files' choice

17 years agofix r2169 for .def.com and .abc.def.com case
Igor Sysoev [Wed, 11 Feb 2009 12:33:13 +0000 (12:33 +0000)]
fix r2169 for .def.com and .abc.def.com case

17 years agobump version
Igor Sysoev [Wed, 11 Feb 2009 10:23:06 +0000 (10:23 +0000)]
bump version

17 years agorelease-0.7.34 tag
Igor Sysoev [Tue, 10 Feb 2009 16:50:29 +0000 (16:50 +0000)]
release-0.7.34 tag

17 years agonginx-0.7.34-RELEASE release-0.7.34
Igor Sysoev [Tue, 10 Feb 2009 16:50:28 +0000 (16:50 +0000)]
nginx-0.7.34-RELEASE

17 years agofix /?new=arg?old=arg redirect case
Igor Sysoev [Tue, 10 Feb 2009 16:03:42 +0000 (16:03 +0000)]
fix /?new=arg?old=arg redirect case

17 years agosend HELO/EHLO after XCLIENT
Igor Sysoev [Tue, 10 Feb 2009 15:19:45 +0000 (15:19 +0000)]
send HELO/EHLO after XCLIENT
patch by Maxim Dounin

17 years agoif_modified_since off
Igor Sysoev [Tue, 10 Feb 2009 15:05:05 +0000 (15:05 +0000)]
if_modified_since off

17 years agocompatibility with Microsoft's
Igor Sysoev [Mon, 9 Feb 2009 12:03:55 +0000 (12:03 +0000)]
compatibility with Microsoft's
    AUTH LOGIN [base64 encoded user name ]
patch by Maxim Dounin

17 years agoAIX has no WCOREDUMP()
Igor Sysoev [Thu, 5 Feb 2009 16:01:50 +0000 (16:01 +0000)]
AIX has no WCOREDUMP()

17 years agobump version
Igor Sysoev [Thu, 5 Feb 2009 15:47:12 +0000 (15:47 +0000)]
bump version

17 years agorelease-0.7.33 tag
Igor Sysoev [Mon, 2 Feb 2009 11:00:12 +0000 (11:00 +0000)]
release-0.7.33 tag

17 years agonginx-0.7.33-RELEASE release-0.7.33
Igor Sysoev [Mon, 2 Feb 2009 11:00:11 +0000 (11:00 +0000)]
nginx-0.7.33-RELEASE

17 years agofix building by msvc, introduced in r2487
Igor Sysoev [Mon, 2 Feb 2009 10:17:06 +0000 (10:17 +0000)]
fix building by msvc, introduced in r2487

17 years agoavoid a double redirect response if
Igor Sysoev [Sat, 31 Jan 2009 20:44:30 +0000 (20:44 +0000)]
avoid a double redirect response if
*) a request is going in a keep alive state,
*) the request body should be discarded,
*) epoll/rtsig reports about the response header has been sent,
*) and write event handler calls core phase handler

17 years agoavoid deep nested calls, flatten call tree
Igor Sysoev [Sat, 31 Jan 2009 20:34:26 +0000 (20:34 +0000)]
avoid deep nested calls, flatten call tree

17 years agofix return code, this fixes segfault when two or more
Igor Sysoev [Sat, 31 Jan 2009 20:33:01 +0000 (20:33 +0000)]
fix return code, this fixes segfault when two or more
simultaneous connections are resolving the same address

17 years agouse length of uncompressed name
Igor Sysoev [Fri, 30 Jan 2009 11:56:45 +0000 (11:56 +0000)]
use length of uncompressed name

17 years agofix $sent_http_location for local redirects
Igor Sysoev [Fri, 30 Jan 2009 05:26:27 +0000 (05:26 +0000)]
fix $sent_http_location for local redirects

17 years agostore name pointer in variable allocated on stack
Igor Sysoev [Thu, 29 Jan 2009 14:35:23 +0000 (14:35 +0000)]
store name pointer in variable allocated on stack
as resolver ctx may be already deallocated at this point

17 years agofree addrs only it has been allocated before: non single address
Igor Sysoev [Thu, 29 Jan 2009 14:32:58 +0000 (14:32 +0000)]
free addrs only it has been allocated before: non single address

17 years agofix reverse resolving cache: it stored zero length names
Igor Sysoev [Thu, 29 Jan 2009 14:29:49 +0000 (14:29 +0000)]
fix reverse resolving cache: it stored zero length names
*) free name only if it has been already allocated
*) store name length

17 years agofix types and add comment
Igor Sysoev [Tue, 27 Jan 2009 16:22:02 +0000 (16:22 +0000)]
fix types and add comment

17 years agotest allocated space as in try_files
Igor Sysoev [Tue, 27 Jan 2009 16:20:29 +0000 (16:20 +0000)]
test allocated space as in try_files

17 years agobump version
Igor Sysoev [Mon, 26 Jan 2009 17:01:27 +0000 (17:01 +0000)]
bump version

17 years agorelease-0.7.32 tag
Igor Sysoev [Mon, 26 Jan 2009 14:41:27 +0000 (14:41 +0000)]
release-0.7.32 tag

17 years agonginx-0.7.32-RELEASE release-0.7.32
Igor Sysoev [Mon, 26 Jan 2009 14:41:26 +0000 (14:41 +0000)]
nginx-0.7.32-RELEASE

17 years agostyle fix: remove tabs
Igor Sysoev [Mon, 26 Jan 2009 14:35:10 +0000 (14:35 +0000)]
style fix: remove tabs

17 years agofix segfault if $fastcgi_script_name or $fastcgi_path_info were used before
Igor Sysoev [Mon, 26 Jan 2009 14:33:59 +0000 (14:33 +0000)]
fix segfault if $fastcgi_script_name or $fastcgi_path_info were used before
fastcgi handler, the bug has been introduced in r2444

17 years agorevert the previous commit and r2447 change in src/core/ngx_cycle.c
Igor Sysoev [Mon, 26 Jan 2009 14:31:49 +0000 (14:31 +0000)]
revert the previous commit and r2447 change in src/core/ngx_cycle.c

17 years agodefault error_log has zero level, the bug has been introduced in r2447
Igor Sysoev [Mon, 26 Jan 2009 14:11:09 +0000 (14:11 +0000)]
default error_log has zero level, the bug has been introduced in r2447

17 years agofix slab page or more sized allocations if nginx was build without debug
Igor Sysoev [Sun, 25 Jan 2009 10:39:59 +0000 (10:39 +0000)]
fix slab page or more sized allocations if nginx was build without debug

17 years agofix fastcgi_store
Igor Sysoev [Wed, 21 Jan 2009 20:54:40 +0000 (20:54 +0000)]
fix fastcgi_store

17 years agouse GetFileAttributesEx() instead of GetFileAttributes()
Igor Sysoev [Wed, 21 Jan 2009 15:56:29 +0000 (15:56 +0000)]
use GetFileAttributesEx() instead of GetFileAttributes()

17 years agofix win32 ngx_is_dir(), etc
Igor Sysoev [Wed, 21 Jan 2009 15:53:09 +0000 (15:53 +0000)]
fix win32 ngx_is_dir(), etc

17 years agotest ngx_file_info() result, the bug has been introduced in r2070
Igor Sysoev [Wed, 21 Jan 2009 15:50:52 +0000 (15:50 +0000)]
test ngx_file_info() result, the bug has been introduced in r2070

17 years agofix r1981 on win32
Igor Sysoev [Wed, 21 Jan 2009 14:17:57 +0000 (14:17 +0000)]
fix r1981 on win32

17 years agoallow directories in try_files
Igor Sysoev [Wed, 21 Jan 2009 12:11:22 +0000 (12:11 +0000)]
allow directories in try_files

17 years agofix segfault when geo range replaces starting part of another range
Igor Sysoev [Mon, 19 Jan 2009 16:42:14 +0000 (16:42 +0000)]
fix segfault when geo range replaces starting part of another range

17 years agobump version
Igor Sysoev [Mon, 19 Jan 2009 16:37:22 +0000 (16:37 +0000)]
bump version

17 years agorelease-0.7.31 tag
Igor Sysoev [Mon, 19 Jan 2009 13:57:02 +0000 (13:57 +0000)]
release-0.7.31 tag

17 years agonginx-0.7.31-RELEASE release-0.7.31
Igor Sysoev [Mon, 19 Jan 2009 13:57:01 +0000 (13:57 +0000)]
nginx-0.7.31-RELEASE

17 years agotry_files should work with files only
Igor Sysoev [Mon, 19 Jan 2009 11:24:25 +0000 (11:24 +0000)]
try_files should work with files only

17 years agoallow insertion range if its start or end is the same as existent one
Igor Sysoev [Fri, 16 Jan 2009 16:29:23 +0000 (16:29 +0000)]
allow insertion range if its start or end is the same as existent one

17 years agofix single address range
Igor Sysoev [Fri, 16 Jan 2009 16:09:58 +0000 (16:09 +0000)]
fix single address range

17 years agofix range deletion
Igor Sysoev [Fri, 16 Jan 2009 16:02:30 +0000 (16:02 +0000)]
fix range deletion

17 years agorepeat r2448 for range deletion
Igor Sysoev [Fri, 16 Jan 2009 15:58:27 +0000 (15:58 +0000)]
repeat r2448 for range deletion

17 years agolog both overrlaped ranges
Igor Sysoev [Fri, 16 Jan 2009 15:47:05 +0000 (15:47 +0000)]
log both overrlaped ranges

17 years agofix range start for ranges those spread in two or more slots
Igor Sysoev [Fri, 16 Jan 2009 15:44:39 +0000 (15:44 +0000)]
fix range start for ranges those spread in two or more slots

17 years agoset the error level as default http error_log level
Igor Sysoev [Fri, 16 Jan 2009 14:00:05 +0000 (14:00 +0000)]
set the error level as default http error_log level

17 years agoproxy/fastcgi_store did not delete incomplete files
Igor Sysoev [Fri, 16 Jan 2009 13:57:00 +0000 (13:57 +0000)]
proxy/fastcgi_store did not delete incomplete files

17 years agoset r->root_tested for non-error_page response only
Igor Sysoev [Fri, 16 Jan 2009 13:53:08 +0000 (13:53 +0000)]
set r->root_tested for non-error_page response only

17 years agofastcgi_split_path_info
Igor Sysoev [Fri, 16 Jan 2009 13:21:20 +0000 (13:21 +0000)]
fastcgi_split_path_info