Igor Sysoev
5405ac4039
improve ngx_slab_alloc() error logging
2009-03-27 17:00:42 +00:00
Igor Sysoev
c17cebe9e0
delete old debugging and info
2009-03-27 16:37:39 +00:00
Igor Sysoev
d2d2168044
rename ngx_http_scrip_flush_complex_value()
...
to ngx_http_script_flush_complex_value()
2009-03-27 14:59:47 +00:00
Igor Sysoev
87211384e3
fix plain text values using relative path in ngx_http_complex_value(),
...
this fixes the auth_basic_user_file bug introduced in r2589
2009-03-27 06:34:31 +00:00
Igor Sysoev
4771115bd6
fix alias with variables, but without captures,
...
the bug had been introduced in r2566 and r2573
2009-03-26 15:24:19 +00:00
Igor Sysoev
6a4e164d49
delete unneeded condition
2009-03-26 14:00:28 +00:00
Igor Sysoev
94440587a1
fix add_header Last-Modified "", broken in r2589
2009-03-26 13:34:37 +00:00
Igor Sysoev
a48ac6f304
fix logged long locked cache entry name and add count
2009-03-26 09:50:04 +00:00
Igor Sysoev
f837a7664b
fix segfault if ngx_read_file() will fail
2009-03-24 15:03:38 +00:00
Igor Sysoev
a008e08c52
fastcgi cache
2009-03-24 12:49:29 +00:00
Igor Sysoev
aec4730776
unlink proxy_cache and proxy_cache_valid
2009-03-24 12:31:24 +00:00
Igor Sysoev
aa1ccafe4f
do not clean cache if memory cache keys zone is cold
2009-03-24 12:25:43 +00:00
Igor Sysoev
ce7fc39161
fix the previous commit
2009-03-23 16:40:11 +00:00
Igor Sysoev
1a24605b6c
axe old definition fields
2009-03-23 15:57:57 +00:00
Igor Sysoev
dc5526a133
bump version
2009-03-23 15:56:46 +00:00
Igor Sysoev
f321dbd59a
a prelimiary proxy cache support
2009-03-23 13:14:51 +00:00
Igor Sysoev
df02658f5d
style fix: remove tabs
2009-03-22 15:52:52 +00:00
Igor Sysoev
82d682d923
style fix: remove tabs
2009-03-22 15:50:07 +00:00
Igor Sysoev
3906365e3a
use complex value in error_page
2009-03-22 09:40:04 +00:00
Igor Sysoev
9643ced05f
use complex values in add_header, auth_basic_user_file,
...
sub_filter, and xslt_stylesheet parameters
2009-03-22 09:39:19 +00:00
Igor Sysoev
d7efd732ac
ngx_http_script_flush_complex_value()
...
ngx_http_complex_value()
ngx_http_compile_complex_value()
2009-03-22 09:36:51 +00:00
Igor Sysoev
1774bd1653
add full path debug log in try_files
2009-03-20 16:50:53 +00:00
Igor Sysoev
3157c405a8
allow try_files in server context
2009-03-20 16:48:45 +00:00
Igor Sysoev
1c2923d10b
fix directory test in try_files
2009-03-20 16:47:23 +00:00
Igor Sysoev
fa7deb7ca1
always run regex in server_name to get captures
2009-03-19 16:07:40 +00:00
Igor Sysoev
52c07d624d
test wildcard tail hash existance
2009-03-19 15:46:27 +00:00
Igor Sysoev
27911efd41
split args in a try_files fallback
2009-03-19 13:42:27 +00:00
Igor Sysoev
f2ce6027ae
ngx_http_split_args()
2009-03-19 13:41:29 +00:00
Igor Sysoev
4095623091
split ngx_http_script_compile()
2009-03-18 14:42:06 +00:00
Igor Sysoev
e0ae22fd9b
bump version
2009-03-18 14:40:21 +00:00
Igor Sysoev
be42b2f13c
fix $server_addr for wildcard listen, the has been introduced in r2513
2009-03-18 12:23:57 +00:00
Igor Sysoev
ecdd385af1
reserve space for r->uri, the bug has been introduced in r2566
2009-03-18 12:21:19 +00:00
Igor Sysoev
c8bcb7b97c
delete unneeded variable
2009-03-16 11:08:08 +00:00
Igor Sysoev
4b276055bc
bump version
2009-03-16 11:07:29 +00:00
Igor Sysoev
b352b8f964
auth_basic_user_file supports variables
2009-03-16 07:13:22 +00:00
Igor Sysoev
f9f182fc10
fix case when regex locaiton runs the second time via internal redirect
2009-03-14 19:24:17 +00:00
Igor Sysoev
0d8b4349b0
fix reserved mapped uri length if alias has captures
2009-03-14 19:20:34 +00:00
Igor Sysoev
cdf49db2e9
remove unneeded increment
2009-03-14 17:10:25 +00:00
Igor Sysoev
589338b12f
compatibility with Tru64 UNIX: fcntl(F_SETLK, F_WRLCK) returns EINVAL if busy
2009-03-13 14:53:30 +00:00
Igor Sysoev
b44a03b45d
ipv6only
2009-03-13 14:20:34 +00:00
Igor Sysoev
bfa0525cb7
fix building without PCRE, introduced in r2553
2009-03-12 11:42:34 +00:00
Igor Sysoev
1f474de90e
ignore EINVAL from setsockopt() on Solaris
2009-03-12 07:16:15 +00:00
Igor Sysoev
3c28e772d2
bump version
2009-03-12 07:12:25 +00:00
Igor Sysoev
faf146c4fa
fix segfaults introduced in r2549 and r2550
2009-03-11 13:04:02 +00:00
Igor Sysoev
b48e9848ab
bump version
2009-03-11 12:57:26 +00:00
Igor Sysoev
3468176b6d
fix segfaults introduced in r2550
2009-03-09 08:50:34 +00:00
Igor Sysoev
77fcc06583
style fix: remove tabs
2009-03-06 16:48:36 +00:00
Igor Sysoev
9dbc379f23
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
2009-03-06 13:01:21 +00:00
Igor Sysoev
e6c7aa224e
captures support in server_name
2009-03-06 12:50:20 +00:00
Igor Sysoev
4b7fa1a4cf
captures support in location and alias
2009-03-06 12:49:22 +00:00
Igor Sysoev
f1f9f103d8
now regex captures are per-request entities
2009-03-06 12:15:07 +00:00
Igor Sysoev
751a371878
pclcf->regex_locations are used with PCRE only
2009-03-05 08:24:17 +00:00
Igor Sysoev
0750c93313
bump version
2009-03-05 08:22:45 +00:00
Igor Sysoev
b8c1f47660
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
2009-03-01 19:24:11 +00:00
Igor Sysoev
069b455dd4
fix case when the first try is shorter then URI
2009-03-01 19:10:36 +00:00
Igor Sysoev
50b62b2e86
lower ECONNRESET level
2009-02-25 14:27:34 +00:00
Igor Sysoev
cbff23b019
fix segfault introduced in r2486 in $sent_http_location processing
2009-02-24 22:02:08 +00:00
Igor Sysoev
2018e891ac
fix the previous commit
2009-02-24 14:25:24 +00:00
Igor Sysoev
a37e9f3546
prepare ngx_ptocidr() for IPv6
2009-02-24 14:01:40 +00:00
Igor Sysoev
12c14b31e3
small optimization: " == NGX_ERROR" > " != NGX_OK"
2009-02-24 10:42:23 +00:00
Igor Sysoev
dbc4603c83
use variable for often used field
2009-02-24 08:32:02 +00:00
Igor Sysoev
c701f5dd5c
move r->virtual_names to ngx_http_core_srv_conf_t
2009-02-24 07:56:47 +00:00
Igor Sysoev
a7b6c2f33a
axe r->port_text
2009-02-24 07:29:55 +00:00
Igor Sysoev
268c329649
remove seldom used variable
2009-02-24 07:21:35 +00:00
Igor Sysoev
34a1c027ed
fix r2530
2009-02-24 07:12:39 +00:00
Igor Sysoev
62d2c6ad12
axe unneeded port field
2009-02-23 21:30:31 +00:00
Igor Sysoev
c0cbf1e93e
axe r->port
2009-02-23 21:19:35 +00:00
Igor Sysoev
d5b8bfff8b
axe r->in_addr
2009-02-23 21:05:10 +00:00
Igor Sysoev
02ce02d2e5
bump version
2009-02-23 21:02:18 +00:00
Igor Sysoev
447157153a
name/password were ignored after odd empty lines
2009-02-23 15:31:18 +00:00
Igor Sysoev
44688aea72
add auth basic failure logging
2009-02-23 15:15:42 +00:00
Igor Sysoev
96d6eb9e70
fix message
2009-02-23 09:42:35 +00:00
Igor Sysoev
f3778a5f36
fix NGX_SOCKADDRLEN, introduced in r2513
2009-02-21 15:13:13 +00:00
Igor Sysoev
064e0bdf0b
bump version
2009-02-21 14:55:58 +00:00
Igor Sysoev
71d332dd0d
fix upstream port, introduced in r2513
2009-02-21 14:34:32 +00:00
Igor Sysoev
fe98af1054
fix implicit listen, introduced in r2513
2009-02-21 10:23:30 +00:00
Igor Sysoev
5d7081728e
bump version
2009-02-21 09:44:57 +00:00
Igor Sysoev
e2dc4550af
a prelimiary IPv6 support, HTTP listen
2009-02-21 07:02:02 +00:00
Igor Sysoev
2032328a14
split ports, addresses, and server names preparation and optimization
2009-02-18 16:17:12 +00:00
Igor Sysoev
e50d758490
add debug logging
2009-02-18 09:24:14 +00:00
Igor Sysoev
412ad87546
the $ancient_browser variables did not treat as an ancient browser
...
listed in modern_browser, but has lower version
2009-02-18 09:23:47 +00:00
Igor Sysoev
f7638d2374
set MIME-type length,
...
otherwise ngx_http_test_content_type() did not find "image/gif"
2009-02-17 08:37:36 +00:00
Igor Sysoev
cfb10de1b6
bump version
2009-02-16 14:55:10 +00:00
Igor Sysoev
106c630bbc
load SSL engine before certificates,
...
otherwise RSA keys will use built-in RSA methods
2009-02-16 13:37:58 +00:00
Igor Sysoev
5c8e0ed2e3
set content-type for try_files' choice
2009-02-14 17:26:26 +00:00
Igor Sysoev
904955be52
fix r2169 for .def.com and .abc.def.com case
2009-02-11 12:33:13 +00:00
Igor Sysoev
0be61c1ed3
bump version
2009-02-11 10:23:06 +00:00
Igor Sysoev
1759a9e80c
fix /?new=arg?old=arg redirect case
2009-02-10 16:03:42 +00:00
Igor Sysoev
d92328b870
send HELO/EHLO after XCLIENT
...
patch by Maxim Dounin
2009-02-10 15:19:45 +00:00
Igor Sysoev
e127031055
if_modified_since off
2009-02-10 15:05:05 +00:00
Igor Sysoev
8eefe85677
compatibility with Microsoft's
...
AUTH LOGIN [base64 encoded user name ]
patch by Maxim Dounin
2009-02-09 12:03:55 +00:00
Igor Sysoev
8ab016271d
AIX has no WCOREDUMP()
2009-02-05 16:01:50 +00:00
Igor Sysoev
d789492a49
bump version
2009-02-05 15:47:12 +00:00
Igor Sysoev
41eae75761
fix building by msvc, introduced in r2487
2009-02-02 10:17:06 +00:00
Igor Sysoev
5037113a13
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
2009-01-31 20:44:30 +00:00
Igor Sysoev
d38b0613cb
avoid deep nested calls, flatten call tree
2009-01-31 20:34:26 +00:00
Igor Sysoev
678c196805
fix return code, this fixes segfault when two or more
...
simultaneous connections are resolving the same address
2009-01-31 20:33:01 +00:00
Igor Sysoev
1f61cdeaec
use length of uncompressed name
2009-01-30 11:56:45 +00:00
Igor Sysoev
bfea80ce31
fix $sent_http_location for local redirects
2009-01-30 05:26:27 +00:00
Igor Sysoev
ae0158378e
store name pointer in variable allocated on stack
...
as resolver ctx may be already deallocated at this point
2009-01-29 14:35:23 +00:00
Igor Sysoev
2636a427ba
free addrs only it has been allocated before: non single address
2009-01-29 14:32:58 +00:00
Igor Sysoev
8cb51328e6
fix reverse resolving cache: it stored zero length names
...
*) free name only if it has been already allocated
*) store name length
2009-01-29 14:29:49 +00:00
Igor Sysoev
48f0532691
fix types and add comment
2009-01-27 16:22:02 +00:00
Igor Sysoev
82be9b3db6
test allocated space as in try_files
2009-01-27 16:20:29 +00:00
Igor Sysoev
a0c0190dbd
bump version
2009-01-26 17:01:27 +00:00
Igor Sysoev
3459066ec8
style fix: remove tabs
2009-01-26 14:35:10 +00:00
Igor Sysoev
9884689d06
fix segfault if $fastcgi_script_name or $fastcgi_path_info were used before
...
fastcgi handler, the bug has been introduced in r2444
2009-01-26 14:33:59 +00:00
Igor Sysoev
451b7b2fbc
revert the previous commit and r2447 change in src/core/ngx_cycle.c
2009-01-26 14:31:49 +00:00
Igor Sysoev
bab6e29561
default error_log has zero level, the bug has been introduced in r2447
2009-01-26 14:11:09 +00:00
Igor Sysoev
464ac78d5a
fix slab page or more sized allocations if nginx was build without debug
2009-01-25 10:39:59 +00:00
Igor Sysoev
e450e80f87
fix fastcgi_store
2009-01-21 20:54:40 +00:00
Igor Sysoev
8116838349
use GetFileAttributesEx() instead of GetFileAttributes()
2009-01-21 15:56:29 +00:00
Igor Sysoev
7f44d1b571
fix win32 ngx_is_dir(), etc
2009-01-21 15:53:09 +00:00
Igor Sysoev
1bcb862a85
test ngx_file_info() result, the bug has been introduced in r2070
2009-01-21 15:50:52 +00:00
Igor Sysoev
2e27bdaad0
fix r1981 on win32
2009-01-21 14:17:57 +00:00
Igor Sysoev
0b142d5bca
allow directories in try_files
2009-01-21 12:11:22 +00:00
Igor Sysoev
5fdf1cbda6
fix segfault when geo range replaces starting part of another range
2009-01-19 16:42:14 +00:00
Igor Sysoev
fed232be37
bump version
2009-01-19 16:37:22 +00:00
Igor Sysoev
bd6cc5e1f8
try_files should work with files only
2009-01-19 11:24:25 +00:00
Igor Sysoev
80165f6e52
allow insertion range if its start or end is the same as existent one
2009-01-16 16:29:23 +00:00
Igor Sysoev
c0e75cbf02
fix single address range
2009-01-16 16:09:58 +00:00
Igor Sysoev
9edc91be02
fix range deletion
2009-01-16 16:02:30 +00:00
Igor Sysoev
159ae653ce
repeat r2448 for range deletion
2009-01-16 15:58:27 +00:00
Igor Sysoev
9c46f3cfa4
log both overrlaped ranges
2009-01-16 15:47:05 +00:00
Igor Sysoev
7f5f76440b
fix range start for ranges those spread in two or more slots
2009-01-16 15:44:39 +00:00
Igor Sysoev
a188821842
set the error level as default http error_log level
2009-01-16 14:00:05 +00:00
Igor Sysoev
9663e72c13
proxy/fastcgi_store did not delete incomplete files
2009-01-16 13:57:00 +00:00
Igor Sysoev
94c95eff08
set r->root_tested for non-error_page response only
2009-01-16 13:53:08 +00:00
Igor Sysoev
29b8c38220
fastcgi_split_path_info
2009-01-16 13:21:20 +00:00
Igor Sysoev
64cbbf0e71
*) fix duplicate geo ranges
...
*) split existent range and insert a new one
2009-01-16 13:17:12 +00:00
Igor Sysoev
a615a1a325
in miss case memcached module returned END instead of default 404 page body
...
the bug has been introduced in r2269
2009-01-15 13:10:45 +00:00
Igor Sysoev
f1156d66ac
update r2439: make clear name
2009-01-13 06:47:29 +00:00
Igor Sysoev
f4f6326b8d
fix r2312
2009-01-12 15:40:26 +00:00
Igor Sysoev
c7426c7260
style fix
2009-01-12 15:36:30 +00:00
Igor Sysoev
c29ea4c4d7
send "100 Continue" just before reading request body
2008-12-26 13:43:42 +00:00
Igor Sysoev
3602e5b031
do not send "100 Continue" for subrequests
2008-12-26 06:21:23 +00:00
Igor Sysoev
e612c04768
set send() slot for POSIX systems
2008-12-25 20:07:12 +00:00
Igor Sysoev
9f4f739350
bump version
2008-12-25 20:06:26 +00:00
Igor Sysoev
a7748055c2
fix segfault, introduced in r2423
2008-12-24 16:18:35 +00:00
Igor Sysoev
1076a34213
bump version
2008-12-24 15:54:21 +00:00
Igor Sysoev
42a733743f
fix r2378, file inclusion should be waited
2008-12-24 12:39:41 +00:00
Igor Sysoev
301a2a20f1
do not try to align to a page size, allocate just 8K,
...
this is fixes allocation on Cygwin, it reports 64K page size
2008-12-24 12:05:55 +00:00
Igor Sysoev
bf647d7676
flush variable values in try_files
2008-12-24 07:14:01 +00:00
Igor Sysoev
364480ea05
update r2422
2008-12-24 06:11:04 +00:00
Igor Sysoev
e92388098d
variable support for unix sockets in fastcgi_pass and proxy_pass
2008-12-23 19:35:12 +00:00
Igor Sysoev
7a283133e2
fix r2378, do not activate subrequest if there are already
...
postponed subrequests or data
2008-12-23 17:25:46 +00:00
Igor Sysoev
51cd8f1ded
fix the previous commit
2008-12-23 08:10:17 +00:00
Igor Sysoev
1271a65a70
send "100 Continue" for HTTP/1.1 only
2008-12-22 15:44:13 +00:00
Igor Sysoev
b8f5ad624b
bump version
2008-12-22 15:40:12 +00:00
Igor Sysoev
6c27e28e62
ngx_http_arg()
2008-12-22 12:02:05 +00:00