Igor Sysoev
da7b5e15de
allow spaces in URI
2010-06-15 09:31:19 +00:00
Igor Sysoev
34cd1cc656
allow Destination URL without host
2010-06-10 08:17:16 +00:00
Igor Sysoev
f0bf9956dc
delete empty Server and Date header used only in proxy mode
2010-06-08 19:33:53 +00:00
Igor Sysoev
a17adae005
change variable names
2010-06-08 16:15:47 +00:00
Igor Sysoev
741caead25
delete surplus flush
2010-06-08 13:43:20 +00:00
Igor Sysoev
cd04da475d
do not try to calculate procent sum if there was an error
2010-06-08 09:06:57 +00:00
Igor Sysoev
27b54fda94
delete useless code
2010-06-07 14:37:56 +00:00
Igor Sysoev
82e1933529
fix rewritten Refresh header length
2010-06-07 14:33:50 +00:00
Igor Sysoev
1f5cf36a27
202 Accepted status code
2010-06-07 13:38:39 +00:00
Igor Sysoev
7935d4bff7
bump version
2010-06-07 13:34:56 +00:00
Igor Sysoev
bf8f69cf74
uwsgi cache
2010-06-04 12:55:01 +00:00
Igor Sysoev
45cb0a086e
uwsgi_bind
2010-06-04 12:32:08 +00:00
Igor Sysoev
b9579381b5
allow uwsgi_param to override client headers using HTTP_ parameters
2010-06-04 12:26:27 +00:00
Igor Sysoev
36e11cecb1
uwsgi_store
2010-06-04 11:31:01 +00:00
Igor Sysoev
6b373a96b1
add uwsgi_param and client request headers debug logging
2010-06-04 10:03:57 +00:00
Igor Sysoev
e5d453228e
do not pass if-... headers for cacheable fastcgi responses
2010-06-04 09:17:09 +00:00
Igor Sysoev
ca9259c0a5
rename variable to conform to the next commit
2010-06-03 16:42:07 +00:00
Igor Sysoev
17483d5bfb
use local headers_names array instead of stored in configuration
...
and allocate its elements from temporary pool
2010-06-03 14:50:59 +00:00
Igor Sysoev
a4c6e7889c
allow fastcgi_param to override client headers using HTTP_ parameters
2010-06-03 14:41:30 +00:00
Igor Sysoev
62a0aa3512
add client request headers debug logging in fastcgi
2010-06-03 13:49:59 +00:00
Igor Sysoev
1cefa519d2
remove the special static fastcgi_param values processing,
...
because it is anyway very seldom case
2010-06-02 15:08:29 +00:00
Igor Sysoev
7a3edc0171
style fix
2010-06-01 20:27:03 +00:00
Igor Sysoev
66ba32c879
improve uwsgi_string processing
2010-06-01 20:24:30 +00:00
Igor Sysoev
b36e5a7952
delete unneeded declaration
2010-06-01 20:23:14 +00:00
Igor Sysoev
4ddb52551c
delete unused ngx_http_uwsgi_add_variables()
2010-06-01 20:21:56 +00:00
Igor Sysoev
c1f3d6edb7
improve uwsgi_modifierX processing:
...
*) use ngx_conf_set_num_slot()
*) check bounds
*) check duplicates
2010-06-01 20:19:57 +00:00
Igor Sysoev
d0aa4ca258
remove LICENSE text
2010-06-01 19:57:52 +00:00
Igor Sysoev
26b621dd67
style fix
2010-06-01 17:46:01 +00:00
Igor Sysoev
e45b892e7b
./configure --http-uwsgi-temp-path=PATH
2010-06-01 17:44:51 +00:00
Igor Sysoev
dc4b53fe61
fix the previous commit when value is static string: remove the special
...
static values processing, because it is anyway very seldom case
2010-06-01 17:30:23 +00:00
Igor Sysoev
1089957488
remove useless copy: key name should be just copied before value length
2010-06-01 17:25:36 +00:00
Igor Sysoev
4c9c518bbf
simplify binary little endian length processing
2010-06-01 17:04:56 +00:00
Igor Sysoev
94be6be50a
use ngx_str_set() and ngx_str_null()
2010-06-01 16:12:00 +00:00
Igor Sysoev
a754521af5
fix copyrights
2010-06-01 16:10:05 +00:00
Igor Sysoev
670cdbba61
fix style, some names, and building by MSVC8
2010-06-01 16:00:42 +00:00
Igor Sysoev
6d7beea1ce
style fix: remove tabs and trailing spaces
2010-06-01 15:55:04 +00:00
Igor Sysoev
3a881d30b5
import original ngx_http_uwsgi_module version
2010-06-01 15:53:11 +00:00
Igor Sysoev
1a310e39de
bump version
2010-06-01 15:20:14 +00:00
Igor Sysoev
9434ae59e8
bump version
2010-05-27 12:55:05 +00:00
Igor Sysoev
de0b1d6f12
remove r->zero_in_uri
2010-05-24 12:35:10 +00:00
Igor Sysoev
9b2763a245
proxy_no_cache and fastcgi_no_cache
2010-05-24 11:01:05 +00:00
Igor Sysoev
fbb262533f
fix delay in limit_req
2010-05-24 07:43:39 +00:00
Igor Sysoev
1a26a18f64
autodetect redirect if URI is rewritten to a string starting with $scheme
2010-05-23 19:36:12 +00:00
Igor Sysoev
f5f4126574
delete warnings of proxy_upstream_max_fails, proxy_upstream_fail_timeout,
...
fastcgi_upstream_max_fails, fastcgi_upstream_fail_timeout,
memcached_upstream_max_fails, and memcached_upstream_fail_timeout
directives obsolete since 0.5.0 version
2010-05-20 11:46:01 +00:00
Igor Sysoev
ec94491f0c
allow to use $uid_got in SSI and perl module
2010-05-18 16:24:56 +00:00
Igor Sysoev
58e1f27d2b
bump version
2010-05-18 16:20:02 +00:00
Igor Sysoev
05b1a8f1e3
ngx_str_set() and ngx_str_null()
2010-05-14 09:56:37 +00:00
Igor Sysoev
328df7a5cc
use ngx_min() and ngx_max()
2010-05-14 09:55:33 +00:00
Igor Sysoev
fadd4bd25c
ngx_http_split_clients_module
2010-05-14 09:02:10 +00:00
Igor Sysoev
980220ffaf
style fix: remove blank line
2010-05-13 10:22:48 +00:00
Igor Sysoev
ff6adfd740
style fix: remove blank line
2010-05-12 15:56:54 +00:00
Igor Sysoev
dce9672ca6
bump version
2010-04-23 08:14:57 +00:00
Igor Sysoev
3ec15dd090
use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks
2010-04-22 17:15:42 +00:00
Igor Sysoev
fa7d06ee4f
change processing variables accessed by SSI and perl module:
...
*) the indexed variables are always flushed
*) never show warning for not found variables
2010-04-22 14:02:45 +00:00
Igor Sysoev
e003988f87
do not log misleading errno in "not a regular file" error
2010-04-21 16:01:52 +00:00
Igor Sysoev
ece10ddcf5
do not store an encoded variable value as a new cached variable value
2010-04-21 14:58:21 +00:00
Igor Sysoev
6b55b4b520
fix building without HTTP cache, the bug had been introduced in r3461
2010-04-06 11:49:36 +00:00
Igor Sysoev
231856b913
bump version
2010-04-02 14:18:23 +00:00
Igor Sysoev
6bdcc58a9c
revert partially r1555 and fix the error "memcached sent invalid trailer"
2010-04-01 15:16:22 +00:00
Igor Sysoev
07db3a4163
chunked_transfer_encoding
2010-04-01 10:18:00 +00:00
Igor Sysoev
aed1ac1e68
reset a parsing state to parse correctly an upstream response,
...
if 400 or 414 response has been redirected to upstream
2010-03-25 13:27:52 +00:00
Igor Sysoev
7fa1c07896
"proxy_redirect default" may not be used if a proxy_pass uses variables
2010-03-10 14:41:49 +00:00
Igor Sysoev
931d88c7c1
fix proxy_redirect name in error message
2010-03-10 14:37:18 +00:00
Igor Sysoev
7e3fdc4e8e
fix segfault if there was non cached large FastCGI stderr output before header,
...
the bug had been introduced in r3461
2010-03-10 13:51:47 +00:00
Igor Sysoev
1c9f74852f
bump version
2010-03-10 13:49:17 +00:00
Igor Sysoev
593dec8b35
fix cached FastCGI response with large stderr output before header
2010-03-03 10:43:38 +00:00
Igor Sysoev
750a65ef84
allow HTTPS referers
2010-03-03 10:21:12 +00:00
Igor Sysoev
bd4b6e68af
fix a geo range if the range includes two or more /16 networks
...
and does not begin at /16 network boundary
2010-02-25 17:26:01 +00:00
Igor Sysoev
a11234b7c4
SSI %s timefmt has no timezone offset
2010-02-19 13:53:11 +00:00
Igor Sysoev
bc55ea07c8
use content type of the parent request in SSI stub block output
...
instead of default one
2010-02-19 13:42:59 +00:00
Igor Sysoev
b43c499677
delete ngx_http_perl_cleanup_t unused since r909
2010-02-12 09:40:46 +00:00
Igor Sysoev
68813cae41
fix request counter for $r->sleep(), the bug was introduced in r3050
2010-02-12 09:32:02 +00:00
Igor Sysoev
d1311dfc71
bump version
2010-02-12 09:31:01 +00:00
Igor Sysoev
2f5bcf2d17
bump version
2010-01-28 08:22:45 +00:00
Igor Sysoev
fcaa367929
allow a chunked body for 201 responses
2010-01-11 15:14:23 +00:00
Igor Sysoev
1651542b3a
fix negative time in "Cache-Control" if "expires modified" sets time in the past
2009-12-25 15:00:08 +00:00
Igor Sysoev
9a5eabc4ac
bump version
2009-12-25 14:57:10 +00:00
Igor Sysoev
bd375b9566
fix typo
2009-12-23 14:22:17 +00:00
Igor Sysoev
d741a7f827
$geoip_city_continent_code, $geoip_latitude, $geoip_longitude
2009-12-22 17:33:03 +00:00
Igor Sysoev
c7c0d610cf
fix the "If-None-Match" header name
2009-12-22 16:41:34 +00:00
Igor Sysoev
9cf418ea92
force image filter conversion if JPEG application data consume more than 5%
2009-12-22 13:03:49 +00:00
Igor Sysoev
ec0655c0ce
style fix
2009-12-22 10:45:29 +00:00
Igor Sysoev
8817113d95
test degradation parameters
2009-12-17 12:45:13 +00:00
Igor Sysoev
9c8fa5efe5
bump version
2009-12-16 14:59:33 +00:00
Igor Sysoev
58b1f9e9e4
backout r3315 and test r->header_only last, since it's not actually
...
frequent here: 304 and HEAD responses are not set it before the filter
2009-12-07 15:41:57 +00:00
Igor Sysoev
3bc08a51c7
bump version
2009-12-02 13:02:43 +00:00
Igor Sysoev
1cfb972e74
support "*" in gzip_types, ssi_types, etc
2009-11-30 13:15:10 +00:00
Igor Sysoev
f8b50b9c96
log proxied HTTP/0.9 responses status as "009"
2009-11-29 20:49:29 +00:00
Igor Sysoev
f215028477
bump version
2009-11-25 17:04:00 +00:00
Igor Sysoev
0bd426def1
bump version
2009-11-23 13:09:33 +00:00
Igor Sysoev
d1d7bb00a3
add comment from r2716 commit message
2009-11-17 10:31:39 +00:00
Igor Sysoev
889fa8debb
use global perl variable in perl_destruct()/perl_free()
...
for non-mulitiplicity perl
2009-11-17 10:28:12 +00:00
Igor Sysoev
25622c2f92
bump version
2009-11-17 09:59:45 +00:00
Igor Sysoev
57acd7b421
bump version
2009-11-16 16:00:12 +00:00
Igor Sysoev
50a94dfbd1
backout r3325: postpone filter is a body only filter
2009-11-16 13:22:10 +00:00
Igor Sysoev
4985109dba
ngx_http_degradation_module
2009-11-16 12:20:00 +00:00
Igor Sysoev
c05f20ec2e
regex named captures
2009-11-16 12:19:02 +00:00
Igor Sysoev
c0ae4716ec
remove subrequest test in range header, chunked, and header filters: they
...
are run after postpone filter which sends data only in main request context
2009-11-16 12:13:17 +00:00
Igor Sysoev
6c71b88924
allow "proxy_pass http://$backend " without URI part
2009-11-15 11:36:12 +00:00
Igor Sysoev
950fb268a2
ngx_regex_exec() calling optimiztion:
...
*) change NGX_REGEX_NO_MATCHED to PCRE_ERROR_NOMATCH
*) declare ngx_regex_exec() as #define
*) optimize SSI regex a little
2009-11-13 20:41:41 +00:00
Igor Sysoev
35b7a443a1
do not log error if $r->variable was not found
2009-11-12 15:50:34 +00:00
Igor Sysoev
0338645ecf
test frequent r->header_only before three response status
2009-11-12 13:44:16 +00:00
Igor Sysoev
6c49a5afcf
refactor gzip_vary handling
2009-11-12 13:41:56 +00:00
Igor Sysoev
2c0b6f3e70
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 r3136
2009-11-11 21:12:41 +00:00
Igor Sysoev
f4992bbe14
bump version
2009-11-11 21:06:36 +00:00
Igor Sysoev
20c9f8be85
remove "Content-Encoding: gzip" in 304 response
...
sent by ngx_http_gzip_static_module
2009-11-11 14:32:49 +00:00
Igor Sysoev
61da56d041
fix "set_real_ip_from unix:" inheritance
2009-11-11 13:41:16 +00:00
Igor Sysoev
a993d55b0f
bump version
2009-11-11 12:30:36 +00:00
Igor Sysoev
7319b92591
allow to work single "set_real_ip_from unix:"
2009-11-04 11:37:06 +00:00
Igor Sysoev
822503ea41
bump version
2009-11-04 11:20:54 +00:00
Igor Sysoev
89601c0f10
fix segfault if no rules are defined, introduced in r3279
2009-11-03 16:04:07 +00:00
Igor Sysoev
771e677674
fix directive name in error message: "set_realip_from" to "set_real_ip_from"
2009-11-03 14:41:56 +00:00
Igor Sysoev
39c9f6e487
fix directive name in error message: "realip_from" to "set_realip_from"
2009-11-03 13:45:22 +00:00
Igor Sysoev
76c941e70b
IPv6 support in ngx_http_access_module
2009-11-03 13:42:45 +00:00
Igor Sysoev
612ecb7674
optimize some cycles:
...
*) delete surplus variable;
*) on i386/amd64 "while (n) / n--" is smaller than "while (n--)",
because the platforms have no postfix operations
2009-11-02 17:12:09 +00:00
Igor Sysoev
7e4f193bb0
set_real_ip_from unix:
2009-11-02 16:46:07 +00:00
Igor Sysoev
a9aaa4a78d
support IPv6 addresses in Real IP headers
2009-11-02 16:24:27 +00:00
Igor Sysoev
72e928755b
proxy_bind, fastcgi_bind, and memcached_bind
2009-11-02 15:24:02 +00:00
Igor Sysoev
0f25ed3d77
replace inet_addr() with ngx_inet_addr()
2009-11-02 13:51:10 +00:00
Igor Sysoev
b3586d13da
bump version
2009-10-28 10:31:06 +00:00
Igor Sysoev
145dcc180a
fix typo
2009-10-19 12:33:09 +00:00
Igor Sysoev
6a588f80c6
bump version
2009-10-15 13:01:42 +00:00
Igor Sysoev
73a9c44441
update r3201: ngx_http_random_index_module should behave consistently
...
in spite of the dirent.d_type presence
2009-10-14 12:39:41 +00:00
Igor Sysoev
e58700d3b0
*) 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
2009-10-14 11:33:35 +00:00
Igor Sysoev
e2afcc5d2f
hide cacheable Set-Cookie and P3P FastCGI response headers
2009-10-07 15:15:41 +00:00
Igor Sysoev
3bed0daced
use only strong ciphers by default
2009-10-07 14:46:13 +00:00
Igor Sysoev
9e54633645
bump version
2009-10-07 12:48:05 +00:00
Igor Sysoev
4efbd6ab36
fix r3184
2009-10-06 16:08:15 +00:00
Igor Sysoev
cf9dd76b43
disable SSLv2 and low ciphers by default
2009-10-06 14:24:53 +00:00
Igor Sysoev
280d6955e3
bump version
2009-10-06 13:52:26 +00:00
Igor Sysoev
2fb73afece
limit_conn_log_level
2009-10-06 10:14:29 +00:00
Igor Sysoev
6624c62742
limit_req_log_level
2009-10-06 10:14:21 +00:00
Igor Sysoev
4ae43f965d
fix building by gcc45
2009-10-06 09:46:16 +00:00
Igor Sysoev
5d4b802370
make limit_req to conform to the leaky bucket algorithm
2009-10-06 09:37:18 +00:00
Igor Sysoev
a2951910d3
omit '\0' from "Location" header on MKCOL request
2009-10-06 09:32:21 +00:00
Igor Sysoev
3266171fd4
read_ahead
2009-09-30 13:21:52 +00:00
Igor Sysoev
13210a18f4
allow several perl_modules
2009-09-30 11:46:01 +00:00
Igor Sysoev
d9ef969e28
use ngx_conf_set_str_array_slot() for perl_require
2009-09-28 16:07:14 +00:00
Igor Sysoev
2c808cc191
optimize error handling
2009-09-28 15:57:28 +00:00
Igor Sysoev
0056d6b4aa
bump version
2009-09-28 15:56:28 +00:00
Igor Sysoev
a552ab476e
check unsafe Destination
2009-09-25 09:30:06 +00:00
Igor Sysoev
7f6d71bbc8
low ENAMETOOLONG logging level
2009-09-25 09:13:08 +00:00
Igor Sysoev
cdaf442a2f
$ssl_session_id
2009-09-24 14:45:28 +00:00
Igor Sysoev
3749443661
bump version
2009-09-23 15:27:17 +00:00
Igor Sysoev
70df46f5c5
fix typo in addition_types directive name
2009-09-22 09:06:15 +00:00
Igor Sysoev
c828202087
*) issue warning instead of failure: this is too common case
...
*) use ngx_log_error(), since OpenSSL does not set an error on the failure
2009-09-18 09:10:16 +00:00
Igor Sysoev
04c2f085f4
nginx always sent "Vary: Accept-Encoding",
...
if both gzip_static and gzip_vary were on
2009-09-15 11:57:29 +00:00
Igor Sysoev
4428cfc12b
image_filter_transparency
2009-09-15 11:55:17 +00:00
Igor Sysoev
f1edf87d04
fix alpha-channel transparency in PNG
2009-09-15 09:47:12 +00:00
Igor Sysoev
6db93ab8ba
allow perl "sub{..."
2009-09-15 09:37:16 +00:00
Igor Sysoev
e6823b5199
bump version
2009-09-15 09:36:09 +00:00
Igor Sysoev
be9d165064
test space between "~" and regex in server_name and invalid_referers
2009-09-14 09:48:48 +00:00
Igor Sysoev
79b8049de4
fix transparency in GIF
2009-09-12 09:46:28 +00:00
Igor Sysoev
96e36ef252
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
2009-09-12 09:28:37 +00:00
Igor Sysoev
e0f1d0afcc
style fix
2009-09-11 13:57:50 +00:00
Igor Sysoev
4d4b2a1b40
fix request counter handling in perl module for $r->internal_redirect()
...
and $r->has_request_body(), the bug was introduced in r3050
2009-09-08 11:33:32 +00:00
Igor Sysoev
d0afc39841
bump version
2009-09-07 12:08:58 +00:00
Igor Sysoev
7d71c80b16
fix request counter handling for perl handler, introduced in r3050
2009-09-04 09:54:16 +00:00
Igor Sysoev
f13a2507ae
bump version
2009-09-01 12:07:00 +00:00
Igor Sysoev
c76ba2b2c5
bump version
2009-08-31 13:50:37 +00:00
Igor Sysoev
61b09e59d7
fix request counter for memcached, introduced in r3050
2009-08-29 18:40:28 +00:00
Igor Sysoev
cfb6888d87
bump version
2009-08-29 18:39:32 +00:00
Igor Sysoev
5297d456d8
axe r->connection->destroyed testing
2009-08-26 16:14:57 +00:00
Igor Sysoev
79fb302daf
bump version
2009-08-25 08:47:58 +00:00
Igor Sysoev
a79f8a5655
strict testing "access_log off"
2009-08-23 17:06:33 +00:00
Igor Sysoev
9db33c9234
fix copy destination name length, introduced in r3025
2009-08-20 13:37:26 +00:00
Igor Sysoev
0f00b0a801
fix memory leak if GeoIP City database was used
2009-08-19 17:44:33 +00:00
Igor Sysoev
42e49ba1ef
bump version
2009-08-19 09:09:12 +00:00
Igor Sysoev
45ec56bdca
refactor fastcgi stderr handling
2009-08-12 14:38:44 +00:00
Igor Sysoev
b7a09c5523
allow cross device temporary files atomic copying:
...
*) ngx_copy_file()
*) delete ngx_ext_rename_file_t.log_rename_error and .rename_error fields
2009-08-12 12:05:33 +00:00
Igor Sysoev
fe8726404c
bump version
2009-08-10 12:49:06 +00:00
Igor Sysoev
ccefc4f0aa
fix a garbage in a split fastcgi header
2009-08-04 12:19:17 +00:00
Igor Sysoev
1b52828cd9
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"
2009-08-04 11:51:10 +00:00
Igor Sysoev
5fab282698
bump version
2009-07-31 12:41:02 +00:00
Igor Sysoev
15b7420aa6
ngx_http_upstream_create() to cleanup the previous upstream after
...
internal redirect
2009-07-27 13:25:29 +00:00
Igor Sysoev
b477b2c2f4
clear "Accept-Ranges" for SSI responses
2009-07-27 13:18:40 +00:00
Igor Sysoev
b5142550cc
fix return value
2009-07-27 11:04:28 +00:00
Igor Sysoev
543151b300
fix libxml2 error message
2009-07-24 13:32:41 +00:00
Igor Sysoev
2cc13965a3
variables support in image_filter
2009-07-23 13:14:58 +00:00
Igor Sysoev
80c3e8e03b
delete OpenSSL pre-0.9.7 compatibility: the sources were not actually
...
compatible with OpenSSL 0.9.6 since ssl_session_cache introduction
2009-07-23 12:54:20 +00:00
Igor Sysoev
9db0245cda
ssl_crl
2009-07-23 12:21:26 +00:00
Igor Sysoev
5b4b7c58cc
*) $ssl_client_verify
...
*) "ssl_verify_client ask" was changed to "ssl_verify_client optional"
2009-07-22 17:41:42 +00:00
Igor Sysoev
15e3b01819
geo module supports trusted proxies
2009-07-22 09:43:14 +00:00
Igor Sysoev
5639272d47
do auto redirect for proxy_pass/fastcgi_pass with variables
2009-07-20 11:44:38 +00:00
Igor Sysoev
193f9f3b14
bump version
2009-07-20 11:43:15 +00:00
Igor Sysoev
bc10147b9f
ngx_http_geoip_module
2009-07-20 07:10:43 +00:00
Igor Sysoev
142a9c3f11
preserve XML wellFormed field before freeing memory
2009-07-17 08:04:52 +00:00
Igor Sysoev
c30d6da7db
style fix
2009-07-15 14:50:51 +00:00
Igor Sysoev
1d03cd6676
bump version
2009-07-14 08:18:38 +00:00
Igor Sysoev
d6bb7ea591
style fix
2009-07-09 14:03:12 +00:00
Igor Sysoev
a4eb3f0e02
fix client write event handling in ngx_http_limit_req_module
2009-07-09 14:02:09 +00:00
Igor Sysoev
f8f9fc2f1a
bump version
2009-07-09 13:20:51 +00:00
Igor Sysoev
7ae6e18c84
bump version
2009-06-22 08:59:48 +00:00
Igor Sysoev
0775182312
fix building --without-http-cache, broken in r2930
2009-06-15 14:25:08 +00:00
Igor Sysoev
dfd4e0a303
bump version
2009-06-15 14:22:20 +00:00
Igor Sysoev
ec7903b6f2
bump version
2009-06-10 11:46:34 +00:00
Igor Sysoev
83c93ba109
inherit proxy_set_header, proxy_hide_header, and fastcgi_hide_header
...
only if cache settings are similar
2009-06-08 12:33:11 +00:00
Igor Sysoev
55192e7470
proxy_cache_use_stale/fastcgi_cache_use_stale updating
2009-06-06 18:49:47 +00:00
Igor Sysoev
abf5d3fbe2
test GIF87a
2009-06-05 07:29:47 +00:00
Igor Sysoev
05ff657234
bump version
2009-06-03 04:51:52 +00:00
Igor Sysoev
260c4321d7
return NULL instead of NGX_CONF_ERROR on a create conf failure
2009-06-02 16:09:44 +00:00
Igor Sysoev
21c2cf88c1
fix XSLT filter in SSI subrequests
2009-05-28 15:42:27 +00:00
Igor Sysoev
98f692a91e
report about proxy/fastcgi_store and proxy/fastcgi_cache incompatibility
2009-05-28 13:41:44 +00:00
Igor Sysoev
da28ef8bff
style fix
2009-05-28 13:31:43 +00:00
Igor Sysoev
77adc0d6c2
do not set charset for subrequests
2009-05-26 09:38:48 +00:00
Igor Sysoev
4b14a97b65
fix the previous commit
2009-05-25 19:57:25 +00:00
Igor Sysoev
d1d8cd587b
refactor ngx_http_charset_header_filter()
2009-05-25 15:57:43 +00:00
Igor Sysoev
6ba4df71b2
bump version
2009-05-25 15:24:20 +00:00
Igor Sysoev
60190068ab
reset content_type hash value, this fixes a bug when XSLT responses
...
could not be processed by SSI, charset, and gzip filters
2009-05-25 09:06:29 +00:00
Igor Sysoev
93c483e0c5
add charset for ngx_http_gzip_static_module responses
2009-05-22 11:05:26 +00:00
Igor Sysoev
5ed3691b6e
proxy_cache_methods and fastcgi_cache_methods
2009-05-19 13:27:27 +00:00
Igor Sysoev
6091c8c33e
bump version
2009-05-18 16:48:53 +00:00
Igor Sysoev
2a9ce62631
use ngx_connection_local_sockaddr() instead of ngx_http_server_addr()
2009-05-18 12:58:19 +00:00
Igor Sysoev
7f20c49059
fix colon in file name for ngx_http_autoindex_module
2009-05-17 19:01:23 +00:00
Igor Sysoev
640e3a49d5
image_filter_jpeg_quality
2009-05-16 16:57:11 +00:00
Igor Sysoev
bba78036c8
bump version
2009-05-12 13:11:39 +00:00
Igor Sysoev
fd61ab4550
test finalized image filter context before testing image_filter off
...
this fixes SIGFPE if image filter errors are passed to named location
2009-05-12 12:05:29 +00:00
Igor Sysoev
ec9f47175e
bump version
2009-05-11 17:47:06 +00:00
Igor Sysoev
ad0b9303d0
allow to pass image filter errors via the same location where the filter is set
2009-05-08 14:52:50 +00:00
Igor Sysoev
fd4191845b
handle big responses for "size" and "test" image_filters
2009-05-08 14:25:51 +00:00
Igor Sysoev
3182d6a9d0
bump version
2009-05-06 14:11:03 +00:00
Igor Sysoev
e7b2f1809f
fix building ngx_http_image_filter_module on 64-bit platforms
2009-05-04 11:39:22 +00:00
Igor Sysoev
fcf9bd9bd8
use off_t in $r->sendfile(), this allows to use 64-bit off_t on platforms
...
where IV is long:
*) on 64-bit platforms,
*) and on 32-bit platforms if perl was built with -Duse64bitint
2009-05-01 19:31:52 +00:00
Igor Sysoev
e7d99eff2c
bump version
2009-05-01 19:13:37 +00:00
Igor Sysoev
e2ada61896
ngx_http_image_filter_module
2009-05-01 18:42:09 +00:00
Igor Sysoev
71d1f49268
ngx_http_filter_finalize_request() and ngx_http_clean_header()
2009-05-01 18:41:07 +00:00
Igor Sysoev
b01c9cc10e
proxy_ignore_headers and fastcgi_ignore_headers
2009-04-30 16:15:07 +00:00
Igor Sysoev
06d4aa1883
*) check a proxy_redirect single parameter
...
*) warn about "proxy_redirect false"
2009-04-30 12:43:38 +00:00
Igor Sysoev
ef919756d9
uniform ngx_file_info() interface with ngx_fd_info()
2009-04-29 19:28:52 +00:00
Igor Sysoev
8ec9a72295
bump version
2009-04-27 12:48:38 +00:00
Igor Sysoev
f1cc457d7f
*) of.test_only to not open file if only stat() is enough
...
*) of.failed to return exact name of failed syscall
2009-04-27 09:55:53 +00:00
Igor Sysoev
22380569de
merge SSL context inside "if" block
2009-04-24 19:56:09 +00:00
Igor Sysoev
9a354261f7
fix fastcgi_cache_min_uses
2009-04-21 10:36:01 +00:00
Igor Sysoev
2f7f95381d
bump version
2009-04-20 13:29:38 +00:00
Igor Sysoev
d7fe640672
remove TODO comments
2009-04-18 19:39:06 +00:00
Igor Sysoev
f7a08d5f9a
support attaching to an existent Win32 shared memory
2009-04-18 19:27:28 +00:00
Igor Sysoev
c7f876bd4c
move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory
2009-04-16 19:25:09 +00:00
Igor Sysoev
c26e7b9d49
perl termination fixes:
...
*) master exit hook is run before global pool cleanup, so call PERL_SYS_TERM()
after perl_destruct()/perl_free(). This fixes the message
panic: MUTEX_LOCK (22) [op.c:352]
on some threaded perl builds
*) call perl_destruct()/perl_free() before PERL_SYS_TERM() for
non-mulitiplicity perl
2009-04-16 14:42:31 +00:00
Igor Sysoev
e4ecddfdb0
fix segfault on exit if no http section is defined in confguraiton,
...
the bug has been introduced in r1947
2009-04-15 20:28:36 +00:00
Igor Sysoev
ca878c8ccc
fix segfault if no http section is defined in confguraiton,
...
the bug has been introduced in r1259
2009-04-15 20:26:33 +00:00
Igor Sysoev
ee0da9ad53
fix building by MSVC8
2009-04-15 19:28:10 +00:00
Igor Sysoev
2b89d20302
hide cacheable Set-Cookie and P3P response headers
2009-04-15 11:42:49 +00:00
Igor Sysoev
081662a3e1
do not pass if-... headers for cacheable responses
2009-04-15 11:21:12 +00:00
Igor Sysoev
50e1cc4560
style fix
2009-04-15 10:57:40 +00:00
Igor Sysoev
57006fbb13
bump version
2009-04-15 06:25:02 +00:00
Igor Sysoev
4f1192651d
bump version
2009-04-06 13:42:56 +00:00
Igor Sysoev
8d9e4c847d
bump version
2009-04-06 11:39:01 +00:00
Igor Sysoev
e94b22b143
bump version
2009-04-06 10:37:53 +00:00
Igor Sysoev
44a69c83a4
proxy_cache_key
2009-04-06 08:58:44 +00:00
Igor Sysoev
ca2bf870d8
merge fastcgi_cache_key
2009-04-02 13:48:54 +00:00
Igor Sysoev
508b1b5dfb
bump version
2009-04-02 13:44:02 +00:00
Igor Sysoev
0370ff015e
bump version
2009-03-30 12:09:52 +00:00
Igor Sysoev
4aedcc5f4d
bump version
2009-03-30 11:00:58 +00:00
Igor Sysoev
2766157b02
delete duplicate error logging
2009-03-27 19:32:55 +00:00
Igor Sysoev
a2c8d9a0a8
improve ngx_slab_alloc() error logging
2009-03-27 17:00:42 +00:00
Igor Sysoev
7b7faed7d6
fix add_header Last-Modified "", broken in r2589
2009-03-26 13:34:37 +00:00
Igor Sysoev
63f52af737
fastcgi cache
2009-03-24 12:49:29 +00:00
Igor Sysoev
3a20e4a477
unlink proxy_cache and proxy_cache_valid
2009-03-24 12:31:24 +00:00
Igor Sysoev
0ded9db383
fix the previous commit
2009-03-23 16:40:11 +00:00
Igor Sysoev
64416aa321
axe old definition fields
2009-03-23 15:57:57 +00:00
Igor Sysoev
565e1e436a
bump version
2009-03-23 15:56:46 +00:00
Igor Sysoev
52859f2f13
a prelimiary proxy cache support
2009-03-23 13:14:51 +00:00
Igor Sysoev
0c2fd4a5de
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
61818c47af
bump version
2009-03-18 14:40:21 +00:00
Igor Sysoev
f2a8affd7e
delete unneeded variable
2009-03-16 11:08:08 +00:00
Igor Sysoev
8f13bccab4
bump version
2009-03-16 11:07:29 +00:00
Igor Sysoev
85e989e209
auth_basic_user_file supports variables
2009-03-16 07:13:22 +00:00
Igor Sysoev
51ed97f79f
remove unneeded increment
2009-03-14 17:10:25 +00:00
Igor Sysoev
d9307664db
bump version
2009-03-12 07:12:25 +00:00
Igor Sysoev
da404fcfe5
bump version
2009-03-11 12:57:26 +00:00
Igor Sysoev
1d05de49a3
now regex captures are per-request entities
2009-03-06 12:15:07 +00:00
Igor Sysoev
72cdf92a91
bump version
2009-03-05 08:22:45 +00:00
Igor Sysoev
05ee60aed9
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
36860101ec
prepare ngx_ptocidr() for IPv6
2009-02-24 14:01:40 +00:00
Igor Sysoev
1f4220ee86
small optimization: " == NGX_ERROR" > " != NGX_OK"
2009-02-24 10:42:23 +00:00
Igor Sysoev
2d95c82f91
axe r->in_addr
2009-02-23 21:05:10 +00:00
Igor Sysoev
b5a17c727c
bump version
2009-02-23 21:02:18 +00:00
Igor Sysoev
5336bd878b
name/password were ignored after odd empty lines
2009-02-23 15:31:18 +00:00
Igor Sysoev
20018efe0f
add auth basic failure logging
2009-02-23 15:15:42 +00:00
Igor Sysoev
55a7aad835
bump version
2009-02-21 14:55:58 +00:00
Igor Sysoev
5e988a4ec6
bump version
2009-02-21 09:44:57 +00:00
Igor Sysoev
a35eaccdec
a prelimiary IPv6 support, HTTP listen
2009-02-21 07:02:02 +00:00
Igor Sysoev
34abdb1683
add debug logging
2009-02-18 09:24:14 +00:00
Igor Sysoev
7b9d3ce703
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
8a3729da14
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
643607bb13
bump version
2009-02-16 14:55:10 +00:00
Igor Sysoev
540ce1957f
bump version
2009-02-11 10:23:06 +00:00
Igor Sysoev
2c33648e52
if_modified_since off
2009-02-10 15:05:05 +00:00
Igor Sysoev
f3d540a022
bump version
2009-02-05 15:47:12 +00:00
Igor Sysoev
e46f19f7c4
test allocated space as in try_files
2009-01-27 16:20:29 +00:00
Igor Sysoev
6c5c793403
bump version
2009-01-26 17:01:27 +00:00
Igor Sysoev
dd6a98f89c
style fix: remove tabs
2009-01-26 14:35:10 +00:00
Igor Sysoev
2da48d32c1
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
cd55a93cce
fix segfault when geo range replaces starting part of another range
2009-01-19 16:42:14 +00:00
Igor Sysoev
f39bca4281
bump version
2009-01-19 16:37:22 +00:00
Igor Sysoev
c1a2b978de
allow insertion range if its start or end is the same as existent one
2009-01-16 16:29:23 +00:00
Igor Sysoev
53554ae54d
fix single address range
2009-01-16 16:09:58 +00:00
Igor Sysoev
6ff8cda061
fix range deletion
2009-01-16 16:02:30 +00:00
Igor Sysoev
95cff3e9d0
repeat r2448 for range deletion
2009-01-16 15:58:27 +00:00
Igor Sysoev
287c22f788
log both overrlaped ranges
2009-01-16 15:47:05 +00:00
Igor Sysoev
f8fdbcaaa2
fix range start for ranges those spread in two or more slots
2009-01-16 15:44:39 +00:00
Igor Sysoev
f1bde24720
set r->root_tested for non-error_page response only
2009-01-16 13:53:08 +00:00
Igor Sysoev
1b8267cea2
fastcgi_split_path_info
2009-01-16 13:21:20 +00:00
Igor Sysoev
73f9bb4d01
*) fix duplicate geo ranges
...
*) split existent range and insert a new one
2009-01-16 13:17:12 +00:00
Igor Sysoev
07fc16cf31
bump version
2008-12-25 20:06:26 +00:00
Igor Sysoev
9b753d2eea
fix segfault, introduced in r2423
2008-12-24 16:18:35 +00:00
Igor Sysoev
503c075122
bump version
2008-12-24 15:54:21 +00:00
Igor Sysoev
a26a70e80b
fix r2378, file inclusion should be waited
2008-12-24 12:39:41 +00:00
Igor Sysoev
9eb86c43c7
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
302cedceb0
variable support for unix sockets in fastcgi_pass and proxy_pass
2008-12-23 19:35:12 +00:00
Igor Sysoev
2a7ce7b878
bump version
2008-12-22 15:40:12 +00:00
Igor Sysoev
84d17bba65
ngx_http_arg()
2008-12-22 12:02:05 +00:00
Igor Sysoev
ed9b6d8962
remove never used zero copy stuff
2008-12-17 20:47:18 +00:00
Igor Sysoev
52b815e452
set default gzip_buffers to 32 4k or 16 8k
2008-12-16 16:15:52 +00:00
Igor Sysoev
7505928d9f
bump version
2008-12-16 16:12:31 +00:00
Igor Sysoev
9aa7e66911
postpone zlib memory allocation
2008-12-16 16:09:39 +00:00
Igor Sysoev
2194e75bb3
do not add header if add_header ""
2008-12-15 10:50:57 +00:00
Igor Sysoev
4f395dec87
remove seldom used variable
2008-12-12 16:40:12 +00:00
Igor Sysoev
ac662fbe1b
fix zero length static response, the bug was introduced in r2378
2008-12-11 15:57:14 +00:00
Igor Sysoev
2d83ed000f
style fix: remove tabs
2008-12-11 10:22:25 +00:00
Igor Sysoev
9a1d46684c
$geo variable support
2008-12-11 09:46:45 +00:00
Igor Sysoev
976603a646
remove before nginx-0.1.25 compatibility code
2008-12-11 07:48:48 +00:00
Igor Sysoev
0c54fef3e0
test port in fastcgi_pass variable
2008-12-10 16:25:14 +00:00
Igor Sysoev
1e2d6aa0e8
clear fastcgi ctx for internal redirection via named location
2008-12-10 16:16:10 +00:00
Igor Sysoev
524f54f56d
use ngx_ext_rename_file() for single file MOVE
2008-12-10 14:53:45 +00:00
Igor Sysoev
ebc050dbba
change variable name
2008-12-10 14:46:34 +00:00
Igor Sysoev
73c3121e6a
delete surplus upstream.schema field
2008-12-10 14:44:48 +00:00
Igor Sysoev
d56088f4da
fastcgi_pass variables support
2008-12-10 14:22:07 +00:00
Igor Sysoev
c9aae14a7e
use "!= NGX_OK" instead of "== NGX_ERROR"
2008-12-09 17:27:48 +00:00
Igor Sysoev
d30d8a3931
bump version
2008-12-09 11:13:12 +00:00
Igor Sysoev
17b5953e71
bump version
2008-12-08 17:59:43 +00:00
Igor Sysoev
851cd73f1d
*) refactor subrequest handling, now they run as separate posted requests
...
*) now $upstream_addr, $upstream_status, $upstream_response_time can be used
with log_subrequest
2008-12-08 14:23:20 +00:00
Igor Sysoev
ba206e147c
*) add zone name while logging 503 error reason
...
*) log allocation error as 503 error reason
2008-12-08 14:18:06 +00:00
Igor Sysoev
54fd0bb613
update comment
2008-12-08 14:15:19 +00:00
Igor Sysoev
61591d111f
rename "lz" to "lr" in variable names
2008-12-08 14:13:36 +00:00
Igor Sysoev
38a2933b67
log 503 error reason
2008-12-08 14:12:29 +00:00
Igor Sysoev
4bc0dcf701
test duplicate limit_conn
2008-12-08 14:08:44 +00:00
Igor Sysoev
51fad316cd
skip protected symlinks in autoindex
2008-12-08 14:05:21 +00:00
Igor Sysoev
84b7651ac2
fix "delete CIDR"
2008-12-02 15:02:36 +00:00
Igor Sysoev
14ecd8ab01
bump version
2008-12-02 14:59:14 +00:00
Igor Sysoev
863325fe98
if_modified_since
2008-12-01 14:22:51 +00:00
Igor Sysoev
69b5a6ddfb
create empty radix tree for "geo $geo { }" case
2008-11-28 17:22:35 +00:00
Igor Sysoev
5a214b96e2
bump version
2008-11-28 17:22:06 +00:00
Igor Sysoev
1c6c63332c
*) descrease geo configuration memory usage
...
*) geo delete
*) geo ranges
2008-11-25 15:59:06 +00:00
Igor Sysoev
de2f8c4ca5
use value rbtree instead of array in geo configuration
2008-11-22 20:42:51 +00:00
Igor Sysoev
1575d12bd7
bump version
2008-11-22 20:38:45 +00:00
Igor Sysoev
b4407c27cb
use integer instead of float
2008-11-14 13:25:44 +00:00
Igor Sysoev
c3d5410c77
change rate to an excess
2008-11-14 11:32:03 +00:00
Igor Sysoev
038a9201e6
bump version
2008-11-12 10:48:27 +00:00
Igor Sysoev
40cc949c7b
*) correct leaky bucket implementation
...
*) now burst is not per second
*) remove delay= parameter
*) add nodelay parameter
2008-11-11 15:38:16 +00:00