Igor Sysoev
433608c180
style fix: remove tabs and trailing spaces
2008-05-14 07:54:52 +00:00
Igor Sysoev
7a06fbdcca
small fixes
2008-05-13 09:47:52 +00:00
Igor Sysoev
bc5fb294af
test user agent in header callback
2008-05-13 09:18:58 +00:00
Igor Sysoev
c11582a983
bump version
2008-05-12 10:08:28 +00:00
Igor Sysoev
ca1bed390d
fix error introduced in r1273 and r1275:
...
nginx did not process FastCGI response if header was at end of FastCGI record
2008-05-08 09:53:22 +00:00
Igor Sysoev
1cd3b0c3db
bump version
2008-04-29 12:44:47 +00:00
Igor Sysoev
615fe7f4be
args support in static error_page
2008-04-29 10:06:43 +00:00
Igor Sysoev
175d9a277e
reset looked at match
2008-04-29 06:15:56 +00:00
Igor Sysoev
439e288a1b
fix memory leak when ssl_verify_client is on
2008-04-23 18:57:25 +00:00
Igor Sysoev
6a2ea3f544
small fix
2008-04-17 14:32:11 +00:00
Igor Sysoev
523e09ee1a
fix segfault
2008-04-11 09:15:07 +00:00
Igor Sysoev
b8a71b6c1b
comment Gauss' formula
2008-04-10 09:37:12 +00:00
Igor Sysoev
f576f0d2bc
quick resolving handles u->resolved->ctx by itself
2008-04-09 14:20:17 +00:00
Igor Sysoev
a4ec6869fc
fix peer sendfile capability
2008-04-04 12:07:13 +00:00
Igor Sysoev
f1c8f4471a
update previous commit
2008-03-24 17:17:17 +00:00
Igor Sysoev
de8ec1efc8
use ngx_int_t in ngx_sort() callback
2008-03-24 13:04:02 +00:00
Igor Sysoev
51e966cedc
bump version
2008-03-18 14:51:09 +00:00
Igor Sysoev
9ff26ce124
use ngx_ext_rename_file() in proxy/fastcgi_store
2008-03-17 13:07:35 +00:00
Igor Sysoev
37cc29a405
some perl builds require my_perl for PERL_SYS_TERM()
2008-03-17 08:58:07 +00:00
Igor Sysoev
d8623fc535
fastcgi params debug logging
2008-03-16 18:03:10 +00:00
Igor Sysoev
430db103f6
speed up ngx_http_charset_recode() for 25%: google-perftools reported
...
that CPU usage of charset body filter has decreased from 7.5% to 5.5%
if gzipping is disabled
2008-03-16 16:52:15 +00:00
Igor Sysoev
70d0961658
test the more likely case first
2008-03-16 16:47:16 +00:00
Igor Sysoev
8c8a6e5f2f
use the more correct mask
2008-03-16 13:29:49 +00:00
Igor Sysoev
a616ef77e2
style fix
2008-03-14 12:31:20 +00:00
Igor Sysoev
cbed526049
fix building on 64-bit platforms broken in r1900
2008-03-13 15:48:36 +00:00
Igor Sysoev
8227959668
bump version
2008-03-13 06:39:00 +00:00
Igor Sysoev
8ce6b25201
bump version
2008-03-12 13:37:29 +00:00
Igor Sysoev
2061259612
non cacheable $proxy_host and $proxy_port
2008-03-11 14:10:11 +00:00
Igor Sysoev
472233d0a3
invalidate SSL session if there is no valid client certificate
2008-03-10 14:47:07 +00:00
Igor Sysoev
fb14092fdc
fix large memory allocation in "error_page 495-497 /uri"
2008-03-10 14:45:41 +00:00
Igor Sysoev
15a20079a5
do not change method while error redirection to named location
2008-03-10 14:36:42 +00:00
Igor Sysoev
f39876c24b
create dummy resolver in http context to inherit it in all servers
2008-03-06 08:48:55 +00:00
Igor Sysoev
cca6000247
ngx_resolve_name() frees ctx on immediate failure
2008-03-05 07:30:44 +00:00
Igor Sysoev
887dd4e5d5
reset r->content_handler in a named location
2008-03-04 14:57:07 +00:00
Igor Sysoev
dfd5511f7a
use cf->cycle->new_log because at merge stage cf->pool->log is old log
2008-03-04 10:42:05 +00:00
Igor Sysoev
8efe926dc5
fix r1903
2008-03-03 20:04:06 +00:00
Igor Sysoev
5461caf920
fix r1490
2008-03-03 16:44:56 +00:00
Igor Sysoev
34cec29e0c
C++ compatibility
2008-03-03 16:32:16 +00:00
Igor Sysoev
7c15b75cc7
fix memory leak in long-lived non buffered connections
2008-03-03 10:42:00 +00:00
Igor Sysoev
4491daef30
cleanup resolver
2008-02-28 20:38:34 +00:00
Igor Sysoev
d3434dfa63
check port in upstream list
2008-02-21 13:58:45 +00:00
Igor Sysoev
5fe93ee95f
pass additional arguments in ngx_http_perl_call_handler() as SV
2008-02-16 14:29:44 +00:00
Igor Sysoev
85a5281be9
fix previous commit
2008-02-16 14:24:43 +00:00
Igor Sysoev
0a0c02f58b
optimize $r->sleep
2008-02-16 14:23:14 +00:00
Igor Sysoev
0f2e924428
delete unneeded dXSTARG
2008-02-15 13:57:55 +00:00
Igor Sysoev
ce30765975
named locations in post_action
2008-02-15 12:46:40 +00:00
Igor Sysoev
ca876e1a7f
fix segfault if empty stub block is used second time
2008-02-14 16:03:48 +00:00
Igor Sysoev
04610ead82
length calculation did not take into account escaped symbols in arguments
2008-02-12 18:05:32 +00:00
Igor Sysoev
2a6c4466ee
bump version
2008-02-11 15:27:44 +00:00
Igor Sysoev
665b9fd2e2
set absolute weight, this fixes bogus "no live upstream" case when
...
last upstream is down while live one has negative weight
2008-02-11 14:31:38 +00:00
Igor Sysoev
c2e854e198
add X-Accel-Charset to ingored header, fix X-Accel-Buffering
2008-02-11 14:02:28 +00:00
Igor Sysoev
be0a61e618
test response length in proxy/fastcgi_store
2008-02-11 13:14:56 +00:00
Igor Sysoev
d173a14619
fix order
2008-02-07 10:45:04 +00:00
Igor Sysoev
f2aab81323
fix order
2008-02-07 10:43:45 +00:00
Igor Sysoev
88b2406f49
fix order
2008-02-07 10:38:13 +00:00
Igor Sysoev
d2d673a8f9
fix return code
2008-02-07 08:57:07 +00:00
Igor Sysoev
fa0d3e1a10
fix building by msvc introduced in r1817
2008-01-22 15:16:38 +00:00
Igor Sysoev
66b8ad6b08
fix building by gcc42, etc. introduced in r1858
2008-01-09 15:27:27 +00:00
Igor Sysoev
57b088d1cc
add code missed in r1856
2008-01-09 08:21:57 +00:00
Igor Sysoev
5a45c6869f
update GET method text in an subrequest
2008-01-08 21:06:38 +00:00
Igor Sysoev
1bc3a93ddf
axe old flag remained after ancient "post_accept_timeout" directive
2008-01-08 20:55:27 +00:00
Igor Sysoev
bd68d51407
add code missed in r1830
2008-01-08 20:51:06 +00:00
Igor Sysoev
1d73cf13f0
bump version
2008-01-08 13:05:18 +00:00
Igor Sysoev
b0fcbefb5d
style fix: remove trailing space
2008-01-08 11:33:14 +00:00
Igor Sysoev
f53c2a00f8
ngx_http_gzip_static_module should DECLINE request
2008-01-08 10:35:50 +00:00
Igor Sysoev
67913781fc
fix comment
2008-01-05 19:07:10 +00:00
Igor Sysoev
7b8ed4259b
fix socket leak if deferred accept was used
2008-01-04 09:32:12 +00:00
Igor Sysoev
81922511ae
use ngx_ext_rename_file() in PUT
2008-01-03 22:18:21 +00:00
Igor Sysoev
cea9034015
do not delete target until all tests will be done,
...
fix single file COPY/MOVE
2008-01-03 21:44:38 +00:00
Igor Sysoev
b98f27d67f
add log
2008-01-03 21:29:01 +00:00
Igor Sysoev
ac487bff1e
add comment
2008-01-03 20:43:12 +00:00
Igor Sysoev
58d04fe3fa
test URI/Destination collection/non-collection and Depth
2008-01-03 20:09:51 +00:00
Igor Sysoev
59781d66ce
axe useless code
2008-01-03 20:06:09 +00:00
Igor Sysoev
a27b0b7e48
change order
2008-01-03 19:18:25 +00:00
Igor Sysoev
369791a7df
change status code, add log message, and test collection URI
2008-01-03 19:13:04 +00:00
Igor Sysoev
284f0daa92
style fix
2008-01-03 17:21:13 +00:00
Igor Sysoev
8dd405319d
min_delete_depth
2007-12-30 11:46:03 +00:00
Igor Sysoev
b06db4283a
log DELETE errors
2007-12-30 10:24:43 +00:00
Igor Sysoev
0ce17d2b5b
axe useless code
2007-12-30 10:19:32 +00:00
Igor Sysoev
ab325357f9
change status code and add log message
2007-12-30 09:44:02 +00:00
Igor Sysoev
0d68f27748
log right request method
2007-12-30 09:11:19 +00:00
Igor Sysoev
feee7265b5
axe useless r->server_name
2007-12-30 08:15:27 +00:00
Igor Sysoev
cc5956772b
log server address
2007-12-30 08:01:50 +00:00
Igor Sysoev
6d7f8658ed
fix building by msvc introduced by r1807
2007-12-29 21:43:49 +00:00
Igor Sysoev
c24de1e853
handle old "server_name *"
2007-12-29 19:05:21 +00:00
Igor Sysoev
2d028f8910
satisfy all|any
2007-12-29 16:38:23 +00:00
Igor Sysoev
c7a9b7a990
use ngx_http_server_addr()
2007-12-29 16:00:34 +00:00
Igor Sysoev
3f24ae2be2
several changes in server_name:
...
*) server_name_in_redirect directive and removal of the '*' stub
*) use server address in redirect if host can not be detected
*) ngx_http_server_addr()
*) allow wildcard and regex names to be a main server_name
*) DAV Destination header is tested against Host header
2007-12-29 15:30:39 +00:00
Igor Sysoev
5dff77ad7f
condition declarations inside blocks update missed in r1705
2007-12-29 13:55:10 +00:00
Igor Sysoev
d5fe818f06
style fix: remove trailing spaces
2007-12-28 13:15:36 +00:00
Igor Sysoev
8eac726195
fix building --without-pcre
2007-12-28 13:15:11 +00:00
Igor Sysoev
86b915901a
optimization
2007-12-27 20:32:43 +00:00
Igor Sysoev
ce5d6e3237
bump version
2007-12-27 18:47:33 +00:00
Igor Sysoev
938d4993db
bump version
2007-12-27 15:39:06 +00:00
Igor Sysoev
a936b27236
backout r1790
2007-12-27 14:39:05 +00:00
Igor Sysoev
c16b005f30
ngx_http_gzip_static_module and gzip_disable
2007-12-27 14:21:59 +00:00
Igor Sysoev
3d70581d45
non-active request is not done
2007-12-27 14:20:50 +00:00
Igor Sysoev
5a40e9518e
allow memached_pass inside "if" block
2007-12-27 14:19:30 +00:00
Igor Sysoev
9b1d4c15a6
inherit $memached_key index and memcached_pass upstream inside "if" block
2007-12-27 14:18:34 +00:00
Igor Sysoev
fe8a327eff
return NGX_DECLINED if access directives are not active,
...
this fixes case when satisfy any does not test active directives at all
2007-12-27 14:15:34 +00:00
Igor Sysoev
11fbf47374
use ngx_regex_exec_array()
2007-12-27 13:15:43 +00:00
Igor Sysoev
e87afbad35
call post_action for 499
2007-12-27 13:13:34 +00:00
Igor Sysoev
57c4b0a83b
regex valid_referers were not inherited
2007-12-27 12:13:11 +00:00
Igor Sysoev
99c3ab964f
optimization
2007-12-27 09:17:20 +00:00
Igor Sysoev
513fec7eda
style fix
2007-12-27 08:40:14 +00:00
Igor Sysoev
cd2aa8e172
create ssl buffer on demand and free it before keep-alive
2007-12-26 21:07:30 +00:00
Igor Sysoev
6ff850baf8
ssl_session_cache off
2007-12-26 20:27:22 +00:00
Igor Sysoev
0123ee3adf
optimization
2007-12-26 13:24:57 +00:00
Igor Sysoev
12dcb354e9
style fix
2007-12-25 15:31:18 +00:00
Igor Sysoev
d02661a96b
use %*s format
2007-12-24 17:05:31 +00:00
Igor Sysoev
f3b0e49069
open_file_cache_min_uses
2007-12-22 13:19:39 +00:00
Igor Sysoev
465a5ff18b
tree.init_handler is never called
2007-12-21 17:50:49 +00:00
Igor Sysoev
b28f5cc3cb
fix the previous commit
2007-12-21 17:23:41 +00:00
Igor Sysoev
9b9616e5ac
open_file_cache_retest > open_file_cache_valid
2007-12-21 16:19:48 +00:00
Igor Sysoev
afc57e0e5c
bump version
2007-12-19 16:56:01 +00:00
Igor Sysoev
b3ea970288
fix comment
2007-12-18 15:12:33 +00:00
Igor Sysoev
7912e4ba5d
optimize rbtree initialization and insert
2007-12-17 08:52:00 +00:00
Igor Sysoev
078dc8bc49
copy return values to perl's allocated memory
2007-12-16 11:57:27 +00:00
Igor Sysoev
b862cf4076
fix merge_slashes
2007-12-14 14:33:00 +00:00
Igor Sysoev
acb2f5d8c8
large_client_header_buffers did not free()ed before keep-alive
2007-12-12 15:42:39 +00:00
Igor Sysoev
6d4b5a1f86
$upstream_addr did not contain last address, the bug was introduced in r1659
2007-12-11 16:26:56 +00:00
Igor Sysoev
3fc85af2fc
style fix: remove trailing spaces
2007-12-10 12:30:09 +00:00
Igor Sysoev
f2932dcbe5
optimize r->upstream usage
2007-12-10 12:29:43 +00:00
Igor Sysoev
86ef6aaa6b
move condition declarations inside blocks where they are used
2007-12-10 12:09:51 +00:00
Igor Sysoev
e600494185
*) copy regex captures $1, $2, etc.
...
*) SV flags debug logging
2007-12-09 20:52:14 +00:00
Igor Sysoev
16623e0b9c
fix segfault when $r->has_request_body() is called with ready body
2007-12-09 19:30:30 +00:00
Igor Sysoev
cb54061885
*) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTR
...
this fixes fastcgi_catch_stderr segfault introduced in r1453
*) ngx_http_upstream_hide_headers_hash()
*) proxy/fastcgi pass_header/hide_header use
ngx_http_upstream_hide_headers_hash()
2007-12-09 18:03:20 +00:00
Igor Sysoev
d8c43746a5
return NGX_HTTP_UPSTREAM_INVALID_HEADER instead of NGX_HTTP_BAD_GATEWAY
...
to go to a next upstream on invalid_header condition
2007-12-09 14:50:19 +00:00
Igor Sysoev
5a55d7104b
return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR in u->parse_header()
2007-12-09 08:22:35 +00:00
Igor Sysoev
a114911332
return NGX_HTTP_UPSTREAM_INVALID_HEADER for invalid status
2007-12-09 08:08:56 +00:00
Igor Sysoev
f4f2efa54c
delete useless variable
2007-12-07 20:57:38 +00:00
Igor Sysoev
27dd6a62bd
use malloc() in ngx_win32_rename_file, set crit level instead of error
2007-12-07 19:57:13 +00:00
Igor Sysoev
03df86a541
bump version
2007-12-03 17:26:28 +00:00
Igor Sysoev
7b35de92a9
fix segfault
2007-12-03 15:47:35 +00:00
Igor Sysoev
6b2fce430b
allow to use IP addresses without defined resolver
2007-12-03 10:05:19 +00:00
Igor Sysoev
b4e5b4c884
style fix: remove trailing spaces
2007-12-01 19:57:37 +00:00
Igor Sysoev
0827c83dfb
log how big fastcgi record
2007-12-01 14:23:53 +00:00
Igor Sysoev
58ea0c1aad
copy protocol value when large request line is copied,
...
this fixes error "fastcgi: the request record is too big"
2007-12-01 12:22:48 +00:00
Igor Sysoev
1d4e9b31cc
do not allow plain 0.9 request to HTTPS
2007-12-01 11:46:04 +00:00
Igor Sysoev
4d65f6501a
zero ngx_url_t
2007-11-30 22:08:59 +00:00
Igor Sysoev
14c8422148
style fix
2007-11-30 22:08:29 +00:00
Igor Sysoev
77e8b0c59f
fix comment
2007-11-30 22:06:48 +00:00
Igor Sysoev
00e0377488
ngx_parse_url() saves port text, this allows to use it in proxy host header
2007-11-28 19:55:31 +00:00
Igor Sysoev
57bb349844
bump version
2007-11-28 19:17:24 +00:00
Igor Sysoev
fa62656b31
fix segfault
2007-11-28 15:06:05 +00:00
Igor Sysoev
a427e12619
delete unneeded declaration
2007-11-28 10:14:04 +00:00
Igor Sysoev
743760ea35
bump version
2007-11-27 16:58:41 +00:00
Igor Sysoev
6e0a7bfaaa
bump version
2007-11-27 16:25:32 +00:00
Igor Sysoev
96dd8af8e6
proxy_pass variables support
2007-11-27 13:34:13 +00:00
Igor Sysoev
9683528550
improve throughput with large limit_rate
2007-11-27 12:24:44 +00:00