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
Igor Sysoev
3b74b8eeb9
fix socket leak introduced in r2378
2009-05-25 09:56:01 +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
77fd67cc38
light optimization of ngx_http_test_content_type()
2009-05-25 09:00:35 +00:00
Igor Sysoev
430d42bfdc
fix segfault introduced in r2845
2009-05-22 11:32:17 +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
980491302b
use already given variable
2009-05-19 12:55:26 +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
868d805c8b
delete unneeded cast
2009-05-18 07:47:58 +00:00
Igor Sysoev
1daaa008fb
update comments missed in r2513
2009-05-17 20:13:29 +00:00
Igor Sysoev
fdf8e1e183
update variable name missed in r2513
2009-05-17 19:58:37 +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
731e6a9b11
style fix
2009-05-14 16:24:39 +00:00
Igor Sysoev
bfbded71fc
client_body_in_single_buffer
2009-05-14 11:41:33 +00:00
Igor Sysoev
ff07f319c9
$request_body variable
2009-05-14 11:40:51 +00:00
Igor Sysoev
e6460ea7bb
update two previous commits again
2009-05-14 11:39:06 +00:00
Igor Sysoev
bc94bdaf8f
update the previous commit
2009-05-14 11:36:26 +00:00
Igor Sysoev
7d9e3345cd
fix client_body_in_file_only type
2009-05-14 11:31:50 +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
dbebf0bdbc
fix building --without-http-cache
...
the bug had been appeared in r2806
2009-05-08 20:14:35 +00:00
Igor Sysoev
3adecaf121
fix the previous commit
2009-05-08 18:11:18 +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
8bb39121fc
test already destroyed request
2009-05-08 14:31:59 +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
c340a2841b
delete level event of appropriate type, this should fix select()'s EBADF,
...
WSAENOTSOCK, and "select ready != events" alerts
2009-05-06 08:40:44 +00:00
Igor Sysoev
ee4be0345f
ngx_create_listening()
2009-05-05 17:33:26 +00:00
Igor Sysoev
25870d8ea2
reinit proxy/fastcgi header parser before ngx_http_upstream_cache_send()
2009-05-05 17:18:33 +00:00
Igor Sysoev
b4097d6093
proxy/fastcgi_cache_use_stale http_50x did not work
2009-05-05 15:17:00 +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
0cd76ea290
*) refactor error_log processing: listen socket log might inherit built-in
...
error_log with zero level, and r2447, r2466, r2467 were not enough
*) remove bogus "stderr" level
*) some functions and fields renames
2009-04-30 13:53:42 +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
bffd3196cf
"port_in_redirect off" did not work
...
the bug had been appeared in r2530 and r2534
2009-04-28 06:20:12 +00:00
Igor Sysoev
8ec9a72295
bump version
2009-04-27 12:48:38 +00:00
Igor Sysoev
5ef370df40
-p and --prefix=
2009-04-27 11:32:33 +00:00
Igor Sysoev
df585ef949
get a full response if the response is cacheable or storable even
...
a client has closed connection prematurely
2009-04-27 11:20:55 +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
43e1b88acb
style fix
2009-04-24 19:58:19 +00:00
Igor Sysoev
22380569de
merge SSL context inside "if" block
2009-04-24 19:56:09 +00:00
Igor Sysoev
c134eb058d
change ngx_log_create_errlog() interface
2009-04-24 14:27:36 +00:00
Igor Sysoev
bf14b000e6
ngx_path_separator()
2009-04-23 16:38:59 +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
0f50f09022
fix debug logging
2009-04-15 13:46:52 +00:00
Igor Sysoev
9bd1010164
fix building --without-http-cache, introduced in r2664 and later
2009-04-15 12:25:51 +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
c796dd263a
shutdown client connection for cacheable header only responses
2009-04-15 11:19:27 +00:00
Igor Sysoev
e41e724726
support 304 for cacheable responses
2009-04-15 11:17:38 +00:00
Igor Sysoev
50e1cc4560
style fix
2009-04-15 10:57:40 +00:00
Igor Sysoev
ea8536b821
support HEAD in proxy cache
2009-04-15 09:53:22 +00:00
Igor Sysoev
1f450f5b1f
style fix: remove trailing spaces
2009-04-15 06:26:20 +00:00
Igor Sysoev
57006fbb13
bump version
2009-04-15 06:25:02 +00:00
Igor Sysoev
395f895900
allow any status
2009-04-11 11:05:15 +00:00
Igor Sysoev
ecd822809d
try_files status code
2009-04-11 11:02:36 +00:00
Igor Sysoev
9ce893b13b
set cache manager maximum sleep time to 10s
2009-04-10 17:46:25 +00:00
Igor Sysoev
fb5f504bcd
style fix
2009-04-10 17:45:07 +00:00
Igor Sysoev
a655f363e2
style fix
2009-04-10 14:49:51 +00:00
Igor Sysoev
909b36ab1f
do not call ngx_http_file_cache_free() if a response is not cacheable
2009-04-10 14:48:41 +00:00
Igor Sysoev
49ed98d1eb
add debug logging
2009-04-10 14:47:18 +00:00
Igor Sysoev
e46943965d
backout r2535: virtual names is a property of address:port pair,
...
but is not a property of server configuration
2009-04-09 13:56:16 +00:00
Igor Sysoev
b37316d7dd
style fix
2009-04-08 19:51:30 +00:00
Igor Sysoev
64851bb2ae
fix r2590: error_page made an external redirect without query string
2009-04-07 15:50:08 +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
43f3f4a73d
fix cache path slot
2009-04-06 08:35:34 +00:00
Igor Sysoev
1dcaa97ccc
refactor ngx_http_arg() using ngx_strcasestrn(),
...
back out zero termination introduced in r2138
2009-04-04 17:51:38 +00:00
Igor Sysoev
21a3c66a87
support Cache-Control no-cache and max-age in cache
2009-04-04 17:35:40 +00:00
Igor Sysoev
054c505050
update r2664
2009-04-04 17:22:26 +00:00
Igor Sysoev
c8298bf3ee
support Expires in cache
2009-04-03 15:48:19 +00:00
Igor Sysoev
db8f150044
fix r2664: ..._cache_valid did not work for stale responses
2009-04-03 15:47:45 +00:00
Igor Sysoev
c1713aadf5
zero field
2009-04-03 15:44:41 +00:00
Igor Sysoev
0eea247b1d
support X-Accel-Expires in cache
2009-04-03 14:33:34 +00:00
Igor Sysoev
56f86505db
cache GET requests only
2009-04-03 12:06:04 +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
931d313311
zero cache file length,
...
this fixes full cache purging and hogging CPU by the cache manager after this
2009-04-01 13:05:38 +00:00
Igor Sysoev
a697c8e574
add debug logging
2009-04-01 13:01:50 +00:00
Igor Sysoev
91db11b32c
fix segfault introduced in r2602 if there is 502/504 error
...
and proxy/fastcgi_cache is defined without proxy/fastcgi_cache_valid
2009-03-30 14:23:07 +00:00
Igor Sysoev
f072a02ec5
fix r2579
2009-03-30 14:15:47 +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
19298ec1d3
introduce cache manager instead of cache cleaner
2009-03-30 07:45:55 +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
766f3a9753
rename ngx_http_scrip_flush_complex_value()
...
to ngx_http_script_flush_complex_value()
2009-03-27 14:59:47 +00:00
Igor Sysoev
22d381e87c
fix plain text values using relative path in ngx_http_complex_value(),
...
this fixes the auth_basic_user_file bug introduced in r2589
2009-03-27 06:34:31 +00:00
Igor Sysoev
1e5ef6b0f4
fix alias with variables, but without captures,
...
the bug had been introduced in r2566 and r2573
2009-03-26 15:24:19 +00:00
Igor Sysoev
517a8fc588
delete unneeded condition
2009-03-26 14:00:28 +00:00
Igor Sysoev
7b7faed7d6
fix add_header Last-Modified "", broken in r2589
2009-03-26 13:34:37 +00:00
Igor Sysoev
2f1a2f3d19
fix logged long locked cache entry name and add count
2009-03-26 09:50:04 +00:00
Igor Sysoev
3afc10f507
fix segfault if ngx_read_file() will fail
2009-03-24 15:03:38 +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
7e4d11bb44
do not clean cache if memory cache keys zone is cold
2009-03-24 12:25:43 +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
1af7090b50
style fix: remove tabs
2009-03-22 15:52:52 +00:00
Igor Sysoev
9bc41a4281
style fix: remove tabs
2009-03-22 15:50:07 +00:00
Igor Sysoev
17f0e66bd9
use complex value in error_page
2009-03-22 09:40:04 +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
8508c10bb8
ngx_http_script_flush_complex_value()
...
ngx_http_complex_value()
ngx_http_compile_complex_value()
2009-03-22 09:36:51 +00:00
Igor Sysoev
c7ce3a99bc
add full path debug log in try_files
2009-03-20 16:50:53 +00:00
Igor Sysoev
e018a9c6ef
allow try_files in server context
2009-03-20 16:48:45 +00:00
Igor Sysoev
cd70a5225a
fix directory test in try_files
2009-03-20 16:47:23 +00:00
Igor Sysoev
7b5edd8ffe
always run regex in server_name to get captures
2009-03-19 16:07:40 +00:00
Igor Sysoev
fb3be73a38
test wildcard tail hash existance
2009-03-19 15:46:27 +00:00
Igor Sysoev
b03aa7fcc2
split args in a try_files fallback
2009-03-19 13:42:27 +00:00
Igor Sysoev
2c7cb55ac1
ngx_http_split_args()
2009-03-19 13:41:29 +00:00
Igor Sysoev
165b3c001c
split ngx_http_script_compile()
2009-03-18 14:42:06 +00:00
Igor Sysoev
61818c47af
bump version
2009-03-18 14:40:21 +00:00
Igor Sysoev
3658a5bdc6
fix $server_addr for wildcard listen, the has been introduced in r2513
2009-03-18 12:23:57 +00:00
Igor Sysoev
f76a6c2244
reserve space for r->uri, the bug has been introduced in r2566
2009-03-18 12:21:19 +00:00
Igor Sysoev
f2a8affd7e
delete unneeded variable
2009-03-16 11:08:08 +00:00