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
Igor Sysoev
a6b5957f92
log entire request line instead of URI only
2007-11-27 12:22:01 +00:00
Igor Sysoev
98b5a3b15b
add_header last-modified ""
2007-11-27 12:02:58 +00:00
Igor Sysoev
32717eb60c
r->headers_out.refresh
2007-11-27 11:56:18 +00:00
Igor Sysoev
685fd08753
set r->headers_out.location for non-local redirects
2007-11-27 11:52:37 +00:00
Igor Sysoev
13f5ff9d7e
http resolver and resolver_timeout
2007-11-27 11:33:52 +00:00
Igor Sysoev
b50b32e255
use usec and pid as start value
2007-11-24 10:43:15 +00:00
Igor Sysoev
5589bcf969
bump version
2007-11-15 15:42:39 +00:00
Igor Sysoev
1d04b14c09
64-bit time_t compatibility
2007-11-15 14:26:36 +00:00
Igor Sysoev
66dbcc8d38
fix typo
2007-11-14 14:58:27 +00:00
Igor Sysoev
d7a7bedeb6
omit unnecessary test, because NGX_ERROR == -1,
...
but r->headers_out.last_modified_time != -1 at this point
2007-11-09 15:43:43 +00:00
Igor Sysoev
6c2f052744
If-Range support
2007-11-09 15:41:35 +00:00
Igor Sysoev
8152d0aeed
style and grammar fix
2007-11-09 13:12:25 +00:00
Igor Sysoev
4c89c09ad8
fix autoindex for "alias /"
2007-11-08 15:21:54 +00:00
Igor Sysoev
d47063bd90
fix gzip and SSL
2007-11-08 15:21:22 +00:00
Igor Sysoev
d7cf1a6c1f
set status in correct place
2007-11-06 15:01:13 +00:00
Igor Sysoev
a2208091df
bump version
2007-10-29 14:09:12 +00:00
Igor Sysoev
e430ab4d55
divide special response handling into several functions
...
fix "?" escaping introduced in r1467
2007-10-26 16:17:17 +00:00
Igor Sysoev
81924e8e16
compatibility with mget: space after HTTP/1.1
2007-10-26 11:34:10 +00:00
Igor Sysoev
31fd642c5c
refactor index module: remove context
2007-10-23 14:16:00 +00:00
Igor Sysoev
747bb06d62
change emerg to a warn for absolute index
2007-10-23 14:15:06 +00:00
Igor Sysoev
704bafb5c2
fix mime type for absolute index
2007-10-23 14:10:38 +00:00
Igor Sysoev
6684e58739
bump version
2007-10-22 11:24:05 +00:00
Igor Sysoev
80c397c53b
fix building broken in r1593
2007-10-22 10:28:03 +00:00
Igor Sysoev
f0a51cfa09
unescape SSI include
2007-10-22 10:19:17 +00:00
Igor Sysoev
070cf22ab4
server_tokens
2007-10-22 10:17:34 +00:00
Igor Sysoev
9e039cfc9e
fix typo
2007-10-22 10:15:48 +00:00
Igor Sysoev
a40caa172c
fix segfault
2007-10-22 10:15:27 +00:00
Igor Sysoev
11ab73e538
style fix
2007-10-18 16:20:21 +00:00
Igor Sysoev
775fd53f2d
style fix
2007-10-18 16:12:55 +00:00
Igor Sysoev
7b34e5f001
style fix
2007-10-18 16:05:48 +00:00
Igor Sysoev
e345d26d20
fix typo
2007-10-18 15:53:38 +00:00
Igor Sysoev
8decab3dd9
merge_slashes
2007-10-18 11:36:58 +00:00
Igor Sysoev
4c5207fd56
allow full URL without URI part: "GET http://host HTTP/1.0"
2007-10-18 11:33:31 +00:00
Igor Sysoev
b2f5a4a971
gzip_vary
2007-10-18 11:29:34 +00:00
Igor Sysoev
cc4078f470
do not discard body if it has been already read
2007-10-18 11:29:15 +00:00
Igor Sysoev
12446d8249
fix segfault if no server_name was defined
2007-10-17 13:22:26 +00:00
Igor Sysoev
5cb097c5b0
style fix
2007-10-17 13:21:20 +00:00
Igor Sysoev
6d5d61c8a3
bump version
2007-10-15 11:32:09 +00:00
Igor Sysoev
ab18bf2f02
use real weight, do not downground to one
2007-10-15 10:15:54 +00:00
Igor Sysoev
2517eef67b
memcached did not set $upstream_response_time
2007-10-15 09:46:36 +00:00
Igor Sysoev
8de766328f
fix segfault when $date_local or $date_gmt are used outside ssi module
2007-10-14 19:04:23 +00:00
Igor Sysoev
2d3f3f6eb6
fix English grammar
2007-10-14 18:56:15 +00:00
Igor Sysoev
47a1ebb050
optimization
2007-10-10 13:58:47 +00:00
Igor Sysoev
bfb23bf604
style fix: remove double semicolons
2007-10-09 20:11:03 +00:00
Igor Sysoev
3fc6ee4501
allow access_log inside limit_except
2007-10-09 18:45:49 +00:00
Igor Sysoev
5ba67396f5
%v fix lost in r1407
2007-10-09 18:44:59 +00:00
Igor Sysoev
d3db9ea51e
style fix: remove trailing spaces
2007-10-09 18:42:00 +00:00
Igor Sysoev
7ed63ee75f
use pool instead of ngx_conf_t
2007-10-08 08:55:12 +00:00
Igor Sysoev
7973964b3f
optimization
2007-10-08 04:59:26 +00:00
Igor Sysoev
d2582b9619
*) add sub_filter parser fix similar to r1261 in SSI parser
...
*) fix case when pattern is split between two buffers:
it had been fixed in SSI parser long ago
2007-10-02 18:53:31 +00:00
Igor Sysoev
a103646402
fix r1552 and r1464: test max fails in correct peer
2007-10-02 12:34:16 +00:00
Igor Sysoev
d13045f16c
fix empty string replacement in sub_filter
2007-10-01 16:24:15 +00:00
Igor Sysoev
fa928a6c66
two commits those go together by mistake
...
*) fix gzip broken in r1544
*) fix memcached END test
2007-10-01 16:00:13 +00:00
Igor Sysoev
a8afe406ce
use ngx_strnstr()
2007-10-01 14:48:45 +00:00
Igor Sysoev
834e447234
fix r1464: test max fails in correct peer
2007-10-01 14:45:31 +00:00
Igor Sysoev
f53294103b
pass length clearly
2007-10-01 12:57:47 +00:00
Igor Sysoev
06af5df77f
style fix
2007-09-29 11:45:46 +00:00
Igor Sysoev
07ee0039b2
add time and length to a HEAD request
2007-09-28 09:48:25 +00:00
Igor Sysoev
9d2811b28b
omit trailing zero in directory name
2007-09-27 09:39:29 +00:00
Igor Sysoev
333649648c
SSI echo encoding
2007-09-27 09:37:09 +00:00
Igor Sysoev
0659720dc8
use ngx_strstrn() and ngx_strcasestrn()
2007-09-26 19:26:14 +00:00
Igor Sysoev
ddc9297a4f
bump version
2007-09-24 04:18:22 +00:00
Igor Sysoev
34ebeb60eb
fix file leak for HEAD requests
2007-09-22 17:56:05 +00:00
Igor Sysoev
60739f7842
bump version
2007-09-21 14:41:05 +00:00
Igor Sysoev
4b96baa417
u_char* is enough to keep file name
2007-09-15 17:11:06 +00:00
Igor Sysoev
254353e40e
the "proxy_hide_header" and "fastcgi_hide_header" directives did not
...
hide response header lines whose name was longer than 32 characters
2007-09-15 16:54:58 +00:00
Igor Sysoev
f78e8dd033
bump version
2007-09-11 13:21:30 +00:00
Igor Sysoev
a72822df36
response to the HEAD request should be a header only
2007-09-11 06:34:18 +00:00
Igor Sysoev
9e4b7276f9
connection error should be logged with "connecting to upstream" action,
...
the bug was introduced in r1154
2007-09-09 18:43:16 +00:00
Igor Sysoev
3dea919675
read EOF of header only responses in non-buffered proxying
2007-09-09 18:32:53 +00:00
Igor Sysoev
ec67b19ea0
there may be several "Connection" header lines and each may have several tokens
2007-09-09 18:28:49 +00:00
Igor Sysoev
51082f7f1d
escape internal request URI in proxy_pass
2007-09-09 18:25:03 +00:00
Igor Sysoev
fcd9dda633
balance more fair when there are several servers with equal weights,
...
side effect: now smallest weights go first
2007-09-09 18:23:21 +00:00
Igor Sysoev
589fc748ed
style fix
2007-09-07 09:29:08 +00:00
Igor Sysoev
7a69774721
fix case when server was marked as down after one failure
2007-09-05 15:30:19 +00:00
Igor Sysoev
4efa705cc0
backout r1426: return dynamic weights
2007-09-05 15:28:19 +00:00
Igor Sysoev
586aa3899d
bump version
2007-09-03 10:35:02 +00:00
Igor Sysoev
9afd58ffe5
open_file_cache_events
2007-09-03 08:41:42 +00:00
Igor Sysoev
1b982e1c00
fix unlikely socket leak
2007-09-01 16:41:52 +00:00
Igor Sysoev
2253064361
fix socket leak introduced in r1374 when request header and body was
...
in one packet and connection went to keep-alive state
2007-09-01 16:40:19 +00:00
Igor Sysoev
140c7556a2
open_file_cache in HTTP
2007-09-01 12:12:48 +00:00
Igor Sysoev
ca0bdd3e95
change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr
2007-09-01 12:05:55 +00:00
Igor Sysoev
2cc3ad8bea
allow to append charset to the "Content-Type" header
2007-08-31 18:47:25 +00:00
Igor Sysoev
b3dd3fd359
style fix
2007-08-31 12:13:12 +00:00
Igor Sysoev
4f62b73898
If-Modified-Since should be unique header line
2007-08-29 15:32:49 +00:00
Igor Sysoev
2b5edcc3e6
bump version
2007-08-28 16:44:29 +00:00
Igor Sysoev
543a6ae513
return 400 response
2007-08-27 20:52:40 +00:00
Igor Sysoev
121bf2f955
cancel dynamic weights,
...
it seems that may permanently set lower weight or even mark server as down
2007-08-27 16:02:43 +00:00
Igor Sysoev
ae0347afc8
optimize r->connection in ngx_http_finalize_request()
2007-08-27 15:53:00 +00:00
Igor Sysoev
db7b126db2
cancel keep-alive and lingering close on EOF
2007-08-27 15:40:19 +00:00
Igor Sysoev
fe8137af4b
cancel discarding body on EOF
2007-08-27 15:38:46 +00:00
Igor Sysoev
012f231bbc
add guard code to prevent endless loop
2007-08-24 15:58:13 +00:00
Igor Sysoev
97e9336753
update ip_hash to "backup" option
2007-08-24 15:30:35 +00:00
Igor Sysoev
9fdca0a117
set current peer to use it in ngx_http_upstream_free_round_robin_peer()
2007-08-24 15:29:50 +00:00
Igor Sysoev
27db2b1900
fix ip_hash on 64-bit platform
2007-08-24 15:28:06 +00:00
Igor Sysoev
45d056a788
fix build on amd64
2007-08-21 11:05:11 +00:00
Igor Sysoev
93c3755e26
bump version
2007-08-20 13:10:25 +00:00
Igor Sysoev
7896c39fe8
set delay only when almost whole sendfile_max_chunk was transferred
2007-08-20 10:35:41 +00:00
Igor Sysoev
0d4b372e44
use %v for ngx_variable_value_t in ngx_sprintf(),
...
this fixes nginx on FreeBSD/sparc64
2007-08-20 09:57:19 +00:00
Igor Sysoev
966e2a5736
auto redirect lost arguments
2007-08-15 15:57:26 +00:00
Igor Sysoev
d6477e6c78
bump version
2007-08-15 12:58:35 +00:00
Igor Sysoev
e101338634
upstream sendfile bit was overridden by r->connection->sendfile
2007-08-14 20:44:09 +00:00
Igor Sysoev
cc07609d11
fix long loop
2007-08-14 13:35:52 +00:00
Igor Sysoev
0b72c93a69
regex in valid_referers
2007-08-12 20:06:43 +00:00
Igor Sysoev
43c3bf42db
regex in server_name
2007-08-12 19:48:12 +00:00
Igor Sysoev
307ab0ded6
fix building by bcc without PCRE
2007-08-12 15:25:09 +00:00
Igor Sysoev
242d1de5d0
style fix
2007-08-12 09:00:56 +00:00
Igor Sysoev
845f6d553a
ignore meaningless bits in CIDR and warn about them
2007-08-10 13:13:28 +00:00
Igor Sysoev
7a8e33993a
sort upstream weights
2007-08-09 15:28:17 +00:00
Igor Sysoev
6876bcdad6
backup upstream servers
2007-08-09 13:54:33 +00:00
Igor Sysoev
031a6e2906
set default listen() backlog to 511 on all platforms except FreeBSD
2007-08-09 13:32:21 +00:00
Igor Sysoev
3625a458d9
"down" server caused endless loop
2007-08-07 12:34:20 +00:00
Igor Sysoev
fda6a08f71
omit unnecessary conditions
2007-08-07 10:56:09 +00:00
Igor Sysoev
4fbd86829b
discard request body before going to keep-alive state and use lingering timeouts
2007-08-07 10:53:27 +00:00
Igor Sysoev
5aca0e4678
omit unnecessary XSRETURN_EMPTY
2007-08-06 15:40:26 +00:00
Igor Sysoev
03afa34c96
$r->discard_request_body
2007-08-06 15:38:08 +00:00
Igor Sysoev
832571f0fc
rename ngx_http_discard_body() to ngx_http_discard_request_body()
2007-08-06 15:37:22 +00:00
Igor Sysoev
ce6bcc0795
block reading for level events
2007-08-06 15:31:00 +00:00
Igor Sysoev
7ab4d9cb55
rename ngx_http_block_read() and ngx_http_test_read() to ..._reading()
2007-08-06 15:22:40 +00:00
Igor Sysoev
e5d4020612
discard request body in cycle
2007-08-06 15:18:24 +00:00
Igor Sysoev
b2d3a541ea
move "Expires" header code to a separate function
2007-08-01 19:32:58 +00:00
Igor Sysoev
dbc02c324b
move "Cache-Control" header code to specific handler
2007-08-01 15:24:06 +00:00
Igor Sysoev
c24bed89cd
style fix
2007-08-01 14:22:12 +00:00
Igor Sysoev
82b5a31e2d
use header specific handler in add_handler,
...
"Last-Modified" header handler
2007-08-01 14:01:30 +00:00
Igor Sysoev
329a23639f
bump version
2007-07-30 09:23:26 +00:00
Igor Sysoev
8889b65711
named location
2007-07-29 18:11:39 +00:00
Igor Sysoev
a1df416d65
--sysconfdir=DIR
2007-07-29 18:05:45 +00:00
Igor Sysoev
0051242013
$is_args
2007-07-29 17:56:56 +00:00
Igor Sysoev
33fa6e30bc
allow to set $args
2007-07-29 17:55:37 +00:00
Igor Sysoev
d12a5718d8
fair upstream weight balancer
2007-07-28 16:04:01 +00:00
Igor Sysoev
32b787560a
fix case when two directives
...
proxy_pass http://backend ;
proxy_pass https://backend ;
both use one port - 80 or 443, that was defined first.
2007-07-23 12:35:21 +00:00
Igor Sysoev
5bb2112c27
style fix
2007-07-23 12:32:34 +00:00
Igor Sysoev
7dbb7c881d
bump version
2007-07-23 08:12:24 +00:00
Igor Sysoev
3f70782404
escape space, etc in $memcached_key
2007-07-22 19:18:59 +00:00
Igor Sysoev
37ae8ca0e1
omit unnecessary code
2007-07-22 19:11:52 +00:00
Igor Sysoev
f36ed5991a
$nginx_version
2007-07-22 13:12:16 +00:00
Igor Sysoev
8e1c997ba0
exit cycle early,
...
found by Coverity's Scan
2007-07-19 19:12:36 +00:00
Igor Sysoev
66a874beb2
bump version
2007-07-17 10:15:07 +00:00
Igor Sysoev
f42ed05e9c
Sun Studio on sparc uses different bit order
2007-07-17 09:23:23 +00:00
Igor Sysoev
8662b6bec5
msie_refresh should escape at least '"' to prevent XSS
2007-07-13 09:37:01 +00:00
Igor Sysoev
471b92e58f
dav_access uses ngx_conf_set_access_slot()
2007-07-13 08:32:12 +00:00
Igor Sysoev
fbd9b4399f
proxy_store and fastcgi_store were changed,
...
proxy_store_access and fastcgi_store_access were added
2007-07-13 08:30:34 +00:00
Igor Sysoev
852e458014
bump version
2007-07-12 11:35:57 +00:00
Igor Sysoev
58feb53eb4
proxy_store and fastcgi_store
2007-07-12 11:19:05 +00:00
Igor Sysoev
ef6e362d4e
style fix
2007-07-11 20:12:26 +00:00
Igor Sysoev
19b093f23b
style fix
2007-07-11 13:06:54 +00:00
Igor Sysoev
8b0a3d2810
fix segfault when session was freed twice
2007-07-10 21:04:37 +00:00
Igor Sysoev
f53d0f3177
proxy_ignore_client_abort, fastcgi_ignore_client_abort, and so on were
...
broken by r1111
2007-07-10 20:53:45 +00:00
Igor Sysoev
13cf4b82c5
bump version
2007-07-09 07:09:38 +00:00
Igor Sysoev
793e08317f
fix headers split in FastCGI records
2007-07-09 06:30:53 +00:00
Igor Sysoev
7797887b1d
omit unnecessary conditions
2007-07-08 09:38:37 +00:00
Igor Sysoev
4d2e0f0198
when the FastCGI header was split in records,
...
nginx passed garbage in the header to a client
2007-07-08 09:16:36 +00:00
Igor Sysoev
28eafa574e
add comment
2007-07-06 11:28:20 +00:00
Igor Sysoev
28bb279593
bump version
2007-06-17 19:27:34 +00:00
Igor Sysoev
414e94f0e9
if a subrequest was finished and SSI was in middle of SSI command parsing
...
and the command was a fast subrequest then the second subrequest output
was just after first subrequest output and response part of main request
between the subrequests went after the second subrequest.
2007-06-17 18:10:43 +00:00
Igor Sysoev
de278125c1
if "<!--" was on edge of buf, then ssi_sharp_state was saved in ctx->saved
...
and if it was not reset, then any '#' was treated as SSI command start
2007-06-17 17:54:48 +00:00
Igor Sysoev
def1e7439f
if subrequest response was buffered in file, then subrequest was finalized
...
with 0 code, ngx_http_writer() was not set, and response part in file was lost
2007-06-17 09:29:15 +00:00
Igor Sysoev
b5f30a87c5
fix building on threaded or multiplicity interpreter perl,
...
the bug was introduced by previous commit
2007-06-16 09:22:37 +00:00
Igor Sysoev
2756b42db2
set worker's perl $$
2007-06-15 12:20:23 +00:00
Igor Sysoev
89aa3079bb
bump version
2007-06-14 05:48:47 +00:00
Igor Sysoev
9d8a75c525
the "www.example.*" wildcard hash support
2007-06-11 19:49:22 +00:00
Igor Sysoev
ad39e5c746
bump version
2007-06-11 19:32:29 +00:00
Igor Sysoev
8ec084b9dc
bump version
2007-06-08 05:43:05 +00:00
Igor Sysoev
6d9a66078a
fix building --without-http_rewrite_module, the bug was introduced in r1236
2007-06-08 05:40:59 +00:00
Igor Sysoev
84cc2cca53
style fix
2007-06-07 14:33:02 +00:00
Igor Sysoev
6c8e74bcd4
style fix
2007-06-07 12:20:34 +00:00
Igor Sysoev
35e5db1c6b
namespace may be set via $memcached_key
2007-06-07 12:15:27 +00:00
Igor Sysoev
8e3151dce5
strstr() -> strchr()
2007-06-06 12:24:10 +00:00
Igor Sysoev
6633572f31
use pointer to an array instead of array for inclusive locations inside location
2007-06-05 11:42:59 +00:00
Igor Sysoev
c915106f20
optimize regex location search
2007-06-05 06:44:08 +00:00
Igor Sysoev
bf15d70e10
forbid alias inside location given by regular expression
2007-06-04 20:45:45 +00:00
Igor Sysoev
62864d1e1e
fix ssl_verify_client for HTTP/0.9
2007-06-04 20:40:03 +00:00
Igor Sysoev
55a42ca586
style fix
2007-06-04 20:00:06 +00:00
Igor Sysoev
1c0e3e0dd0
bump version
2007-06-04 16:14:33 +00:00
Igor Sysoev
813296e5bb
fastcgi_catch_stderr
2007-06-04 13:52:47 +00:00
Igor Sysoev
8f0c87f384
PERL_SYS_TERM() should be called once on exit only, this fixes the message
...
panic: MUTEX_LOCK (22) [op.c:352].
BEGIN failed--compilation aborted.
... [alert] ... perl_parse() failed: 9
Scalars leaked: 2
on threaded perl during second reconfiguration.
PERL_SYS_INIT() should be called once too.
2007-05-29 18:48:42 +00:00
Igor Sysoev
e60303cdca
SNI support
2007-05-29 15:21:09 +00:00
Igor Sysoev
f44ea0bbf6
bump version
2007-05-29 12:15:04 +00:00
Igor Sysoev
a9a4672b9f
bump version
2007-05-28 19:03:06 +00:00
Igor Sysoev
c02ed54c4f
use stable search where it is required
2007-05-21 14:09:12 +00:00
Igor Sysoev
0687cb9d99
fix worker endless loop on 64-bit platform if 33+ backend has fall
2007-05-21 13:48:14 +00:00
Igor Sysoev
5f6989e953
style fix
2007-05-17 18:07:28 +00:00
Igor Sysoev
932b32628e
bump version
2007-05-07 14:39:11 +00:00
Igor Sysoev
08d068f943
limit minimal pool size
2007-05-07 09:20:42 +00:00
Igor Sysoev
5a8bc36118
style fix
2007-05-07 08:49:15 +00:00
Igor Sysoev
c9b57dc081
sendfile_max_chunk
2007-05-07 06:33:39 +00:00
Igor Sysoev
544e9f1fd7
optimize HTTP method parsing for i386 and amd64
2007-05-07 06:27:14 +00:00
Igor Sysoev
5b1cf0d91f
fix multipart ranges trailing
2007-05-06 18:15:32 +00:00
Igor Sysoev
b09c269386
style fix: change variable name
2007-05-05 06:07:11 +00:00
Igor Sysoev
d1e38e8788
fix building by msvc
2007-05-05 05:40:29 +00:00
Igor Sysoev
75c3272a1c
fix segfault introduced in r1190
2007-05-02 09:02:23 +00:00
Igor Sysoev
dbdeafe6a0
fix segfault or parsing error in '<!--# if expr="$var = /" -->'
2007-05-02 08:07:37 +00:00
Igor Sysoev
9c710c0569
allow to "set" $http_, $sent_http_, and $upstream_http_ variables
2007-05-01 19:58:45 +00:00
Igor Sysoev
359561d6cc
bump version
2007-04-24 06:26:56 +00:00
Igor Sysoev
29f5912635
$upstream_addr
2007-04-23 16:56:17 +00:00
Igor Sysoev
8a19bff2a5
proxy_headers_hash_max_size and proxy_headers_hash_bucket_size
2007-04-22 20:21:59 +00:00
Igor Sysoev
b4ccb9f5bd
$request_time has millisecond precision
2007-04-21 07:50:19 +00:00
Igor Sysoev
6047281208
rename $r->rflush to $r->flush
2007-04-21 07:43:23 +00:00
Igor Sysoev
e548a510c4
bump version
2007-04-19 18:23:54 +00:00
Igor Sysoev
6d939760c6
style fix: remove trailing spaces
2007-04-19 18:07:39 +00:00
Igor Sysoev
4c39648150
$upstream_http_... should be uncacheable
2007-04-19 17:55:19 +00:00
Igor Sysoev
d9bb8e3894
ngx_http_sub_filter_module
2007-04-19 17:54:23 +00:00
Igor Sysoev
16eab66314
style fix: rename functions
2007-04-19 06:27:10 +00:00
Igor Sysoev
e0f866273f
store the upstream states before X-Accel-Redirect to a next upstream
2007-04-18 20:23:19 +00:00
Igor Sysoev
fb958946b5
style fix: remove tabs
2007-04-18 15:21:28 +00:00
Igor Sysoev
e5e4c0000d
fix segfault when
...
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
de92bcccee
set nginx_stash after reconfiguration in single interpreter perl
2007-04-18 09:23:35 +00:00
Igor Sysoev
2723361e76
$upstream_http_... variables
2007-04-10 07:08:06 +00:00
Igor Sysoev
da4b660274
use 60 seconds interval but not 61 seconds
2007-04-03 21:54:13 +00:00
Igor Sysoev
52a282d04b
bump version
2007-04-02 10:50:18 +00:00
Igor Sysoev
7a5886052f
*) introduce ngx_strchr()
...
*) test server_name for '/': it's common configuration error when
trailing ';' is omitted and a next directive is treated as server_name
2007-04-02 06:27:30 +00:00