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
6814f42473
fix SSI include stub for valid empty responses
2010-05-14 12:18:44 +00:00
Igor Sysoev
402b2f07c2
do not cache response if it has "no-store" or "private"
...
in "Cache-Control" header
2010-05-14 12:04:58 +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
5739072cfe
fix segfault: ngx_http_upstream_cleanup() cleans r->cleanup,
...
the bug had been introduced in r3419
2010-05-14 09:22:58 +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
185a5d1726
make $arg_ variables non-cacheable
2010-04-22 13:35:30 +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
569f95818b
do not add a port in redirect if we listen on unix domain socket
2010-03-31 13:30:50 +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
6d45d8a50d
*) introduce ngx_time_sigsafe_update() to update the error log time only
...
*) change ngx_time_update() interface
2010-03-25 09:10:10 +00:00
Igor Sysoev
2f916a9721
*) use previously cached GMT offset value to update time from a signal handler
...
*) change ngx_time_update() interface since there are no notification methods
those return time
2010-03-13 18:08:07 +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
1ee4b09091
make $request_method non-cacheable
2010-03-03 16:14:07 +00:00
Igor Sysoev
ff1a888caf
remove code disabled since 0.1.29 version
2010-03-03 15:14:04 +00:00
Igor Sysoev
e0538991ff
use a right "Location" header name, however, it did not harm,
...
since ngx_http_variable_sent_location() never use key name field
2010-03-03 15:08:06 +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
aa9a761f88
style fix: remove tabs
2010-02-18 14:47:09 +00:00
Igor Sysoev
ded2a7c1af
fix $upstream_http_ variable prefix length
2010-02-15 19:38: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
b681f7184c
do not disable keepalive after POST requests for MSIE 7+
2010-02-01 12:58:07 +00:00
Igor Sysoev
8164f329fe
disable keepalive for Safari:
...
https://bugs.webkit.org/show_bug.cgi?id=5760
2010-02-01 12:01:01 +00:00
Igor Sysoev
4e20f24b5b
delete u->cleanup mark, this fixes large values in $upstream_response_time,
...
the bug had been introduced in r3007
2010-01-29 16:45:14 +00:00
Igor Sysoev
77860d74a5
skip URI trailing spaces under Win32
2010-01-28 14:09:28 +00:00
Igor Sysoev
918ef947da
Fix segfault when while discarding body a write event handler is called,
...
runs ngx_http_core_run_phases(), and starts a request processing again.
The write event has clear type and remained in a keepalive connection.
The bug was introduced in r3050.
2010-01-28 08:33:24 +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
e4bc4a2940
named captures worked for two names only
2010-01-11 11:21:46 +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
e146ebd813
allow to handle 301/302 in error_page
2009-12-23 15:31:16 +00:00
Igor Sysoev
3662f36a54
fix a cached zero-length body case
2009-12-23 14:46:45 +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
8c97fa9ae4
fix building by gcc 4.4 with -O2/3/s:
...
dereferencing pointer 'sin' does break strict-aliasing rules
2009-12-22 15:15:45 +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
a9d26d2e19
fix building by gcc 4.x with -O2/3/s in some Linux distributions:
...
dereferencing type-punned pointer will break strict-aliasing rules
the bug has been introduced in r3065
2009-12-21 21:56:48 +00:00
Igor Sysoev
733fb74d06
fix caseless locations, the bug had been introduced in r3326
2009-12-17 14:25:46 +00:00
Igor Sysoev
8817113d95
test degradation parameters
2009-12-17 12:45:13 +00:00
Igor Sysoev
04799a6f7c
fix r3331:
...
*) now pools are aligned to 16 bytes
*) forbidden to set non-aligned pool sizes
2009-12-17 12:25:46 +00:00
Igor Sysoev
9c8fa5efe5
bump version
2009-12-16 14:59:33 +00:00
Igor Sysoev
29b5a13784
default large_client_header_buffers' buffer size should be 8K as compatible
...
with Apache's one
2009-12-09 06:37:41 +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
601ab90cd4
fix handling cached HTTP/0.9 response
2009-11-29 20:48:01 +00:00
Igor Sysoev
a1b92a9659
fix server_name regex named captures given by "?P<...>"
2009-11-29 20:39:32 +00:00
Igor Sysoev
f215028477
bump version
2009-11-25 17:04:00 +00:00
Igor Sysoev
6956db0696
fix building without PCRE, the bug had been introduced in r3326
2009-11-23 13:13:58 +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
42f5fb19ac
evaluate maximum captures size on configuration phase
2009-11-16 19:11:38 +00:00
Igor Sysoev
d86a0bfed4
fix captures in "rewrite", the bug had been introduced in r3326
2009-11-16 19:10: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
30870b4ab3
style fix: lcf > clcf
2009-11-13 19:59:54 +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
3d12873adb
add MSIE padding for Chrome too
2009-11-12 14:24:22 +00:00
Igor Sysoev
bdc154bb73
r->chrome
2009-11-12 14:23:18 +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
4121aa3440
export aio presence knowledge to prevent using "aio sendfile",
...
if aio does not present
2009-11-05 13:12:30 +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
51aa6dec4d
fix segfault if there is single large_client_header_buffers
...
and a request line fills it completely
2009-11-03 18:12:20 +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
956bdfc000
fix segfault if $limit_rate was logged
2009-11-03 15:05:38 +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
8b816d88a9
change ngx_parse_addr() interface
2009-11-02 16:11:06 +00:00
Igor Sysoev
72e928755b
proxy_bind, fastcgi_bind, and memcached_bind
2009-11-02 15:24:02 +00:00
Igor Sysoev
0c189c5159
rename ngx_peer_addr_t to ngx_addr_t
2009-11-02 15:14:17 +00:00
Igor Sysoev
67765e8918
use sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr"
2009-11-02 14:32:46 +00:00
Igor Sysoev
0f25ed3d77
replace inet_addr() with ngx_inet_addr()
2009-11-02 13:51:10 +00:00
Igor Sysoev
19811dbdde
style fix
2009-11-02 12:41:56 +00:00
Igor Sysoev
44fa8877c0
fix segfaults if no listen directive was set in default server {} block:
...
ngx_http_add_listen() uses server's connection_pool_size and
client_header_timeout values, therefore it must be called after
the values have been merged, the bug had been introduced in r3218
2009-10-29 15:53:50 +00:00
Igor Sysoev
e856807660
style fix
2009-10-28 10:47:00 +00:00
Igor Sysoev
cadac4ec3e
fix segfault if http {} block is empty, the bug had been introduced in r3218
2009-10-28 10:45:40 +00:00
Igor Sysoev
b3586d13da
bump version
2009-10-28 10:31:06 +00:00
Igor Sysoev
baf8e409ba
http listen unix domain sockets
2009-10-26 11:43:32 +00:00
Igor Sysoev
657b3b7f7d
fix r3225 and r3227: preserve default_server bit during listen options
...
overwriting
2009-10-22 10:17:54 +00:00
Igor Sysoev
663e957957
do not run regex for empty host name since regex always fails in this case,
...
the bug had been introduced in r2196
2009-10-22 09:48:42 +00:00
Igor Sysoev
315cfa0ab3
test a duplicate listen in a server
2009-10-22 08:15:16 +00:00
Igor Sysoev
acb43232f6
fix r3225: it overrode the listen options by default server default options
2009-10-22 08:14:02 +00:00
Igor Sysoev
9826961ed4
listen default_server parameter
2009-10-21 19:18:50 +00:00
Igor Sysoev
5a95080cb6
allow to set listen options in any server
2009-10-21 19:16:38 +00:00
Igor Sysoev
ba3083bfce
add listen address in error message
2009-10-21 19:13:27 +00:00
Igor Sysoev
cd8b43cde7
rename core_srv_conf fields to more understandable default_server and server
2009-10-21 16:52:10 +00:00
Igor Sysoev
f2694cb925
*) move sockaddr to the listen options
...
*) rename ngx_http_listen_t to ngx_http_listen_opt_t
2009-10-21 16:47:44 +00:00
Igor Sysoev
2a634f5342
fix r3218:
...
Initially building lists of ports, addresses, and server names had been
placed at final configuration stage, because complete set of the "listen"s
and the "server_names" were required for this operation. r3218 broke it,
because the "listen"s go usually first in configuration, and
cscf->server_names is empty at this stage, therefore no virtual names
were configured.
Now server configurations are stored in array for each address:port
to configure virtual names. Also regex captures flag is moved from
server names to core server configuration.
2009-10-21 16:27:48 +00:00
Igor Sysoev
d2d0931ed5
refactor http listen code: remove duplicate options fields
2009-10-21 08:48:04 +00:00
Igor Sysoev
79d630ac11
refactor http listen code:
...
*) add listen's to the global cmcf->ports array instead of server's one
*) rename ngx_http_listen_conf_t to ngx_http_listen_opt_t
2009-10-21 08:19:46 +00:00
Igor Sysoev
e418e0661c
fix two previous commits: an early parallel body discarding completion
...
disables incomplete ngx_http_writer()
2009-10-20 11:48:28 +00:00
Igor Sysoev
9a1f0ac730
allow discarding body while a long response transfer
2009-10-19 16:13:38 +00:00
Igor Sysoev
801a35df3c
restore discard body handler after ngx_http_set_writer() set it to
...
ngx_http_test_reading(), the bug was introduced in r3050
2009-10-19 16:12:13 +00:00
Igor Sysoev
7060e670f4
fix ngx_http_finalize_request() code after a body has been discarded
2009-10-19 16:06:57 +00:00
Igor Sysoev
11e5d7f190
prevent handling discarded body as a pipelined request
2009-10-19 14:08:35 +00:00
Igor Sysoev
2495c4d50b
add lingering timeout if a response is short and a request body is being
...
discarded, the bug was introduced in r3050
2009-10-19 14:08:09 +00:00
Igor Sysoev
145dcc180a
fix typo
2009-10-19 12:33:09 +00:00
Igor Sysoev
550454192c
ngx_http_parse_time() should support full 32-bit time
2009-10-15 13:19:34 +00:00
Igor Sysoev
5143e39b4e
use ngx_uint_t instead of int,
...
strange to say this reduce function size by 16 bytes
2009-10-15 13:09:58 +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
671236993a
test comma separator in "Cache-Control"
2009-10-08 14:22:00 +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
136dd8d1e6
use real file cache length, this fixes cache size counting for responses
...
without "Content-Length" header and 304 responses.
2009-10-07 12:55:58 +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
703f15d8a2
clear r->lingering_close to disable preventively calling
...
ngx_http_set_lingering_close() while request cleanup
2009-10-02 11:32:56 +00:00
Igor Sysoev
2d24d749e4
clear r->keepalive to disable preventively calling
...
ngx_http_set_keepalive() while request cleanup
2009-10-02 11:30:47 +00:00
Igor Sysoev
48a3131d83
update r3167: do not set r->discard_body if the body has been just discarded
2009-10-02 09:46:04 +00:00
Igor Sysoev
3266171fd4
read_ahead
2009-09-30 13:21:52 +00:00
Igor Sysoev
689064b91a
log 499 instead 0, the bug was introduced in r3050
2009-09-30 12:05:08 +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
65166cfa2f
fix request counter in resolver handling, the bug was introduced in r3050
2009-09-28 12:31:47 +00:00
Igor Sysoev
00e723da20
we do not need to increase request counter in this place,
...
the bug had appeared in r3115
2009-09-28 11:12:45 +00:00
Igor Sysoev
63bfeb9bd0
fix r3078: do not increase request counter if body has been just discarded
2009-09-26 13:24:15 +00:00
Igor Sysoev
812234e2f5
fix discarding body
2009-09-25 11:55:33 +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
f63a48ce7e
update the previous commit: use ngx_strlow()
2009-09-24 13:23:25 +00:00
Igor Sysoev
6749e92938
$host is always in low case:
...
*) move low case convertation from ngx_http_find_virtual_server()
to ngx_http_validate_host()
*) add in ngx_http_validate_host() capability to copy host name in the pool
allocated memory
2009-09-24 13:15:50 +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
7386cf58a7
fix request counter for post_action, the bug was introduced in r3050
2009-09-21 18:34:22 +00:00
Igor Sysoev
5b6b1fda1c
allow to log invalid $request in access_log always,
...
before it was logged only if error_log was set to info or debug level
2009-09-21 15:55:56 +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
d1e9567425
do not pass buf with empty cached response,
...
this fixes "zero size buf in output" alert
2009-09-15 15:12:03 +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
97aa4c86a1
handle "/../" case more reliably
2009-09-14 07:42:01 +00:00
Igor Sysoev
12a7d493d4
fix request counter for X-Accel-Redirect, the bug was introduced in r3050
2009-09-13 13:45:32 +00:00
Igor Sysoev
84b20ca18b
fix case when the output filter should add incoming buffers
...
while waiting on file AIO completion
2009-09-13 06:28:17 +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
526f36aab8
fix request counter for rewrite or internal redirection cycle,
...
the bug was introduced in r3050
2009-09-10 16:34:09 +00:00
Igor Sysoev
3e751480b2
increase request counter before an upstream cleanup because the cleanup
...
decreases the counter via ngx_http_finalize_request(r, NGX_DONE),
the bug was introduced in r3050
2009-09-08 11:37: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
9963b19f69
do not pass incoming buf chain twice if data are ready,
...
the bug was introduced in r3072
2009-09-07 12:10:07 +00:00
Igor Sysoev
d0afc39841
bump version
2009-09-07 12:08:58 +00:00
Igor Sysoev
28debb2191
fix the previous commit
2009-09-04 18:51:17 +00:00
Igor Sysoev
78fd825c1e
preload just a single byte to avoid testing file overrun
2009-09-04 16:59:23 +00:00
Igor Sysoev
8013a83067
clean cache updating state if a response has uncacheable code or
...
cache prohibitive headers
2009-09-04 09:57:38 +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
63494b4c79
discrease slightly ngx_http_parse_header_line() size:
...
this line is not required for LF, however, this case is very seldom
2009-09-02 07:02:49 +00:00
Igor Sysoev
21e3e05eb1
discard request body before returning 413 error,
...
this fixes custom 413 page redirection bug introduced in r1456
2009-09-01 12:47:34 +00:00
Igor Sysoev
b4cc2fc0d7
fix request counter handling while discarding body, introduced in r3050
2009-09-01 12:40:27 +00:00
Igor Sysoev
56f06e69df
use %*s instead of %V
2009-09-01 12:35:52 +00:00
Igor Sysoev
2e9ea35fd7
fix segfault when a header starts with "\rX"
...
and logging is set to info or debug level
2009-09-01 12:32:37 +00:00
Igor Sysoev
f13a2507ae
bump version
2009-09-01 12:07:00 +00:00
Igor Sysoev
9f9054df82
retry aio sendfile if data are ready
2009-08-31 14:00:16 +00:00
Igor Sysoev
06bb9d294a
fix building on FreeBSD without --with-file-aio
2009-08-31 13:51:13 +00:00
Igor Sysoev
c76ba2b2c5
bump version
2009-08-31 13:50:37 +00:00
Igor Sysoev
fb30a18045
fix request counter handling for try_files, introduced in r3050
2009-08-31 11:21:04 +00:00
Igor Sysoev
bfff03406d
aio sendfile
2009-08-30 09:52:39 +00:00
Igor Sysoev
ddda411d14
*) ngx_http_ephemeral
...
*) use preallocated terminal_posted_request
2009-08-30 09:47:11 +00:00
Igor Sysoev
d11fa717f0
use local variable and fix debug log message
2009-08-29 18:42:31 +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
8b8e995eb8
do not create cache key in AIO invocation
2009-08-28 11:23:50 +00:00
Igor Sysoev
a39d4e1aee
fix sending a cached file using AIO
2009-08-28 11:22:27 +00:00
Igor Sysoev
aa4200b551
do not disable gzip for MSIE 6.0 SV1 in "gzip_disable msie6"
2009-08-28 08:19:02 +00:00
Igor Sysoev
6fb506a215
directio_alignment
2009-08-28 08:15:55 +00:00
Igor Sysoev
a962506498
FreeBSD and Linux AIO support
2009-08-28 08:12:35 +00:00
Igor Sysoev
1163af9fae
style fix
2009-08-28 07:50:45 +00:00
Igor Sysoev
5297d456d8
axe r->connection->destroyed testing
2009-08-26 16:14:57 +00:00
Igor Sysoev
b603dd4b43
request reference counter
2009-08-26 16:04:05 +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
5374610ace
process upstream ETag header
2009-08-23 16:10:39 +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
703aab0b72
unlock incompletely loaded cache
2009-08-10 15:57:42 +00:00
Igor Sysoev
4413fad0db
cache loader process
2009-08-10 13:27:14 +00:00
Igor Sysoev
3210b282f5
test cache path levels while reconfiguration
2009-08-10 13:18:40 +00:00
Igor Sysoev
fe8726404c
bump version
2009-08-10 12:49:06 +00:00
Igor Sysoev
22fc3e656e
fix segfault introduced in r3007
2009-08-07 13:16:42 +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
ce1ba38b93
fix handling "Last-Modified" and "Accept-Ranges" for upstream responses
2009-07-27 13:14:45 +00:00
Igor Sysoev
7335dfa4b6
allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect",
...
"X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset"
2009-07-27 12:06:12 +00:00
Igor Sysoev
b5142550cc
fix return value
2009-07-27 11:04:28 +00:00
Igor Sysoev
1099f9f657
fix segfault if 400 or 414 errors are handled intricately
2009-07-24 19:20:29 +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
a4038c8e71
fix r2972, it caused "zero size buf" alert.
2009-07-22 13:06:27 +00:00
Igor Sysoev
15e3b01819
geo module supports trusted proxies
2009-07-22 09:43:14 +00:00
Igor Sysoev
55d47a81a9
do not test "..." case since it's Win9x family feature only
2009-07-20 12:23:04 +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
2642bf1a6d
use caseless regex locations on caseless filesystems: MacOSX, Win32, Cygwin
2009-07-14 08:53:37 +00:00
Igor Sysoev
2376d6082a
skip URI trailing dots under Win32
2009-07-14 08:51:20 +00:00
Igor Sysoev
c28d632595
ngx_http_set_exten() is always successful since 0.3.46
2009-07-14 08:38:28 +00:00
Igor Sysoev
1d03cd6676
bump version
2009-07-14 08:18:38 +00:00
Igor Sysoev
df4b230ede
allow underscore in request method
2009-07-13 09:33:34 +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
2e9542b910
fix ngx_http_send_special() for subrequests handled by perl
2009-07-09 13:32:51 +00:00
Igor Sysoev
f8f9fc2f1a
bump version
2009-07-09 13:20:51 +00:00
Igor Sysoev
704462ac85
fix building --without-http-cache, broken in r2953
2009-06-22 09:10:50 +00:00
Igor Sysoev
7ae6e18c84
bump version
2009-06-22 08:59:48 +00:00
Igor Sysoev
ad0d2fced4
fix segfault if there is error_page 401, proxy_intercept_errors is on
...
and backend does not return "WWW-Authenticate" header
2009-06-18 14:28:50 +00:00
Igor Sysoev
bd9eda9986
$upstream_cache_status
2009-06-18 13:34:47 +00:00
Igor Sysoev
a5fe5881c6
ignore ngx_atomic_fetch_add() result
...
this fixes building at least by gcc 4.2.1 on Mac OS X 10.6
2009-06-18 13:14:51 +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
bf22945140
add response file uniq while loading cold cache on demand
2009-06-12 20:32:42 +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
fa524e9063
delete useless r->cache->uses
2009-06-06 17:48:54 +00:00
Igor Sysoev
ae7e8886f6
remove remnants
2009-06-06 14:13:49 +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
05822df0cb
fix return value on failure
2009-06-02 16:08:38 +00:00
Igor Sysoev
80027fc0a2
limit_rate_after
2009-06-02 14:01:50 +00:00
Igor Sysoev
8416832621
fix "out of memory" case handling
2009-05-29 11:42:55 +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
e959128b4a
keepalive_requests
2009-05-25 15:38:36 +00:00
Igor Sysoev
6ba4df71b2
bump version
2009-05-25 15:24:20 +00:00