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
365d663cc2
fix memory corruption in $ssl_client_cert
2009-07-27 11:51: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
f5ca9df2ab
delete ancient define
2009-07-23 12:59:11 +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
52833f2211
handle Win32 ReadFile() EOF state in Unix way
2009-07-13 09:32:49 +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
282109b563
initialize use_event field in open file cache
...
the bug had been introduced in r2071
2009-06-12 14:23:29 +00:00
Igor Sysoev
eb5a64fdf2
style fix
2009-06-11 05:51:37 +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
2d65078eff
update r2925
2009-06-07 18:22:58 +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
366bf71b82
win32 master process had aready closed listening sockets
2009-06-06 12:53:55 +00:00
Igor Sysoev
165aa39230
a signaller process should stop configuration processing just after
...
it is able to get pid file, this allows to not open log files, etc.
2009-06-06 12:41:31 +00:00
Igor Sysoev
7b6b09f105
*) exit if no workers could not be started
...
*) do not quit old workers if no new workers could not be started
2009-06-06 12:36:44 +00:00
Igor Sysoev
a864311b12
fix debug logging
2009-06-05 17:44:49 +00:00
Igor Sysoev
7f9305cc2c
do not test a pool block space if we can not allocated from the block 4 times
2009-06-05 13:27:12 +00:00
Igor Sysoev
8e5f0acbc2
change surplus for() to while()
2009-06-05 12:33:49 +00:00
Igor Sysoev
abf5d3fbe2
test GIF87a
2009-06-05 07:29:47 +00:00
Igor Sysoev
5a2898f2b4
try to reuse last 4 free large allocation links
...
this fixes a pool growing for multi-requests keepalive connections
2009-06-03 13:57:28 +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
3e64702807
leave chain in consistent state on errors
2009-06-02 16:07:13 +00:00
Igor Sysoev
42846485a2
test premature process termination
2009-06-02 14:26:59 +00:00
Igor Sysoev
130690fceb
log GetExitCodeProcess()'s errno
2009-06-02 14:26:18 +00:00
Igor Sysoev
80027fc0a2
limit_rate_after
2009-06-02 14:01:50 +00:00
Igor Sysoev
f0a827adcb
add drive letter for Win32 root path
2009-06-02 14:00:01 +00:00
Igor Sysoev
a119584e66
test that zone has the same addresses in different processes
2009-06-02 13:57:59 +00:00
Igor Sysoev
5b26bec9e8
*) fix memory leak in successful case
...
*) log shared memory name in failure case
2009-06-02 13:56:42 +00:00
Igor Sysoev
785ee23467
allow shared memory segments more than 4G
2009-05-30 17:06:38 +00:00
Igor Sysoev
8416832621
fix "out of memory" case handling
2009-05-29 11:42:55 +00:00
Igor Sysoev
6da803a6be
fix logging in ngx_win32_rename_file()
2009-05-29 09:32:52 +00:00
Igor Sysoev
b7882d1213
add trailing zero to a file name
2009-05-29 09:31:48 +00:00
Igor Sysoev
21c2cf88c1
fix XSLT filter in SSI subrequests
2009-05-28 15:42:27 +00:00
Igor Sysoev
65105aaae3
Win32 returns ERROR_PATH_NOT_FOUND instead of ERROR_FILE_NOT_FOUND
2009-05-28 15:32:22 +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
739e29b651
delete unneeded field
2009-05-18 12:21:00 +00:00
Igor Sysoev
610cbd4223
mail proxy listen IPv6 support
2009-05-18 12:20:22 +00:00
Igor Sysoev
c985ee7a61
ngx_connection_local_sockaddr()
2009-05-18 12:12:06 +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
b1897d2395
reconfigure master process
2009-05-08 18:12:03 +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
4318688cce
preserve Solaris binary hardware capabilities
2009-05-08 09:41:43 +00:00
Igor Sysoev
dbc205ab5a
IPv6 for Win32
2009-05-07 13:05:04 +00:00
Igor Sysoev
6ce6fcd12d
divide select module into two modules: Unix and Win32 ones
2009-05-06 14:53:54 +00:00
Igor Sysoev
3182d6a9d0
bump version
2009-05-06 14:11:03 +00:00
Igor Sysoev
44063a76f4
make code clearer
2009-05-06 08:54:54 +00:00
Igor Sysoev
57ca2c8013
test event type to prevent errors
2009-05-06 08:53:13 +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
d4a71fb844
move listen log copying from ngx_open_listening_sockets()
...
to ngx_configure_listening_sockets(), otherwise listen socket logs have no file
after first reload and this caused segfault if debug_connection was used;
the bug has been introduced in r2786
2009-05-05 13:16:29 +00:00
Igor Sysoev
00bd137064
use correct name
2009-05-05 13:12:59 +00:00
Igor Sysoev
682414f352
use local variable
2009-05-05 13:05:42 +00:00
Igor Sysoev
a8da6c2ae6
delete never used ngx_ssl_set_nosendshut()
2009-05-04 19:51:32 +00:00
Igor Sysoev
6efa56fe7f
delete ngx_listening_inet_stream_socket()
2009-05-04 19:51:09 +00:00
Igor Sysoev
4c9d36765c
axe imap module artifacts
2009-05-04 19:34:59 +00:00
Igor Sysoev
63d0bea178
do not free buffer with cache header before it would be written,
...
it seems this affected header only FastCGI responses only:
proxied header only responses were cached right
2009-05-04 19:04: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
5461f39381
set of.failed for cached error, the bug has been introduced in r2757
2009-04-30 08:01:50 +00:00
Igor Sysoev
ef919756d9
uniform ngx_file_info() interface with ngx_fd_info()
2009-04-29 19:28:52 +00:00
Igor Sysoev
b1e640a385
try to repair the case "select ready != events"
2009-04-29 18:56:47 +00:00
Igor Sysoev
a1580f58dd
ngx_select_repair_fd_sets()
2009-04-29 15:29:12 +00:00
Igor Sysoev
b70b1f7c64
delete useless debug log
2009-04-29 15:15:17 +00:00
Igor Sysoev
7c6ba72e24
style fix
2009-04-29 15:12:57 +00:00
Igor Sysoev
c5237a8829
handle Winsock select() WSAEINVAL
2009-04-29 13:42:14 +00:00
Igor Sysoev
ff95d9290c
style fix
2009-04-29 13:08:10 +00:00
Igor Sysoev
a70d086812
fix the previous commit
2009-04-29 13:07:16 +00:00
Igor Sysoev
dcc9205a39
Winsock uses ECONNABORTED instead of ECONNRESET
2009-04-29 11:34:58 +00:00
Igor Sysoev
341b8f67b9
fix building by BCC if NGX_PREFIX is defined
2009-04-29 11:32:58 +00:00
Igor Sysoev
ca6a9e0fdc
*) do not show line number for -g option
...
*) reset configuration file after -g option has been parsed
2009-04-28 20:06:03 +00:00
Igor Sysoev
9441ffadbe
add listen events for win32 only after accept mutex is hold
2009-04-28 20:03:59 +00:00
Igor Sysoev
bb8971fd26
fallback to neutral language in FormatMessage()
2009-04-28 15:06:29 +00:00
Igor Sysoev
9d4a8d9111
introduce ngx_write_console() to support OEM code pages
2009-04-28 15:05:27 +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
2cc2893bc1
add prefix in Usage
2009-04-28 04:34:27 +00:00
Igor Sysoev
28b313290b
it seems MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) returns
...
ERROR_RESOURCE_LANG_NOT_FOUND for Russian locale
2009-04-27 18:58:35 +00:00
Igor Sysoev
f67e0a4050
ngx_log_errno()
2009-04-27 13:17:33 +00:00
Igor Sysoev
e1c9746e37
use ngx_vslprintf(), ngx_slprintf()
2009-04-27 13:06:20 +00:00
Igor Sysoev
4e1fe03e03
ngx_vslprintf(), ngx_slprintf()
2009-04-27 12:51:33 +00:00
Igor Sysoev
8ec9a72295
bump version
2009-04-27 12:48:38 +00:00
Igor Sysoev
2ac565faf0
fix building by MSVC8
2009-04-27 11:33:34 +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
0e60e4f73a
add quotes for configure options with spaces
2009-04-26 19:37:38 +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
c27497da92
change ngx_log_abort() interface
2009-04-24 15:50:51 +00:00
Igor Sysoev
a3041ac931
style fix: (void)
2009-04-24 14:45:52 +00:00
Igor Sysoev
c134eb058d
change ngx_log_create_errlog() interface
2009-04-24 14:27:36 +00:00
Igor Sysoev
7b9feda70b
fix Auth-Method, the bug has been introduced in r2496
2009-04-24 09:54:40 +00:00
Igor Sysoev
caf17102e8
pass command lines options to workers
2009-04-23 18:22:28 +00:00
Igor Sysoev
bf14b000e6
ngx_path_separator()
2009-04-23 16:38:59 +00:00
Igor Sysoev
c28ff717cb
issue start up errors and warning on both stderr and error_log
2009-04-23 11:13:12 +00:00
Igor Sysoev
ae2f2b105a
style fix: remove trailing spaces introduced in the previous commit
2009-04-23 09:46:14 +00:00
Igor Sysoev
eeed2e9b21
use ngx_str_t for error levels
2009-04-23 08:05:54 +00:00
Igor Sysoev
fce0ab53ad
axe incomplete support of Winsock error descriptions on NT
2009-04-22 11:25:12 +00:00
Igor Sysoev
b5b7e89469
use English only error descriptions in Win32 ngx_strerror_r()
2009-04-22 11:20:31 +00:00
Igor Sysoev
c8e9f26a57
implement "-s signal" option for Unix
2009-04-21 20:25:49 +00:00
Igor Sysoev
80ce3d4dd1
style fix: remove trailing spaces
2009-04-21 19:49:48 +00:00
Igor Sysoev
dc5ad52761
style fix: remove tabs
2009-04-21 19:38:02 +00:00
Igor Sysoev
59c393f393
add -? and -h options
2009-04-21 16:21:58 +00:00
Igor Sysoev
e980a6814b
add 48x48 icon
2009-04-21 15:44:39 +00:00
Igor Sysoev
b77808cee0
allow condensed command lines options
2009-04-21 15:42:15 +00:00
Igor Sysoev
19a0e6e32e
fix r2731 for Win32
2009-04-21 15:40:40 +00:00
Igor Sysoev
f873e73b96
test command line options before ngx_log_init() and issue errors to stderr
2009-04-21 13:39:47 +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
bd91999ea5
Win32 master/workers model
2009-04-20 06:08:47 +00:00
Igor Sysoev
b533e98252
fix Win32 ngx_gettimezone()
2009-04-19 19:08:49 +00:00
Igor Sysoev
694bdea2a9
add variadic macros support for msvc8
2009-04-19 16:25:02 +00:00
Igor Sysoev
1153aa6465
show -t results on stderr
2009-04-19 16:06:09 +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
6ac68bcc4c
update c->sent in ngx_unix_send()
2009-04-18 19:13:53 +00:00
Igor Sysoev
61b7791486
fix building on platforms which have no atomic operations support,
...
the bug was introduced in r2564
2009-04-17 19:11:31 +00:00
Igor Sysoev
b072c3d647
fix the previous commit
2009-04-17 19:09:08 +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
5234b9c6a8
fix building by BCC without NGX_DEBUG_MALLOC
2009-04-15 19:44:41 +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
a2de7b9b93
delete win32 ngx_file_append_mode() as we use reliable
...
FILE_APPEND_DATA|SYNCHRONIZE flags
2009-04-08 19:13:28 +00:00
Igor Sysoev
2ec2e35efe
adopt NGX_FILE_TRUNCATE for win32
2009-04-08 19:03:41 +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
d5ba36fdad
backout r2677 and fix ngx_strlcasestrn() again
2009-04-06 11:42:42 +00:00
Igor Sysoev
8d9e4c847d
bump version
2009-04-06 11:39:01 +00:00
Igor Sysoev
f3aed53c9d
fix ngx_strlcasestrn()
2009-04-06 10:38:40 +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
a514d68bfb
ngx_strlcasestrn()
2009-04-04 17:31:54 +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
c919d3178a
autoconfigure crypt_r(): uclibc has no crypt_r()
2009-04-02 13:46:39 +00:00
Igor Sysoev
76f42ca21a
fix OpenBSD building, broken in r2616
2009-04-02 13:44:32 +00:00
Igor Sysoev
508b1b5dfb
bump version
2009-04-02 13:44:02 +00:00
Igor Sysoev
de9fca55b1
fix MacOSX building, broken in r2616
2009-04-01 13:09:36 +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
24c2787163
Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are set
...
without any other flags. On the other hand, Unix requires at least the write
flag to be set together with O_APPEND.
2009-03-31 13:52:01 +00:00
Igor Sysoev
fadc7a7e81
win32 ngx_open_file() supports utf8 names and NGX_FILE_APPEND
2009-03-30 14:51:51 +00:00
Igor Sysoev
8017a63cb3
ngx_process_tray()
2009-03-30 14:46:33 +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
723f71ddfe
fix FreeBSD before 7 building, broken in r2616
2009-03-30 12:33:33 +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
5fe3fb56e8
nginx_version
2009-03-30 07:48:53 +00:00
Igor Sysoev
19298ec1d3
introduce cache manager instead of cache cleaner
2009-03-30 07:45:55 +00:00
Igor Sysoev
1be7419d10
ngx_fs_bsize()
2009-03-30 07:43:06 +00:00
Igor Sysoev
a1e9bfbc85
fix ngx_wsasend_chain()
2009-03-29 16:58:23 +00:00
Igor Sysoev
7c6c186a7e
update cpuid for Core 2 and Atom
2009-03-28 12:43:41 +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
04fe40023a
delete old debugging and info
2009-03-27 16:37:39 +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
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
c7e87af678
fix case when regex locaiton runs the second time via internal redirect
2009-03-14 19:24:17 +00:00
Igor Sysoev
bb7d615b3c
fix reserved mapped uri length if alias has captures
2009-03-14 19:20:34 +00:00
Igor Sysoev
51ed97f79f
remove unneeded increment
2009-03-14 17:10:25 +00:00
Igor Sysoev
da0a5318f1
compatibility with Tru64 UNIX: fcntl(F_SETLK, F_WRLCK) returns EINVAL if busy
2009-03-13 14:53:30 +00:00
Igor Sysoev
6d94b51f0b
ipv6only
2009-03-13 14:20:34 +00:00
Igor Sysoev
648b0dcf28
fix building without PCRE, introduced in r2553
2009-03-12 11:42:34 +00:00
Igor Sysoev
0bd7b00eb7
ignore EINVAL from setsockopt() on Solaris
2009-03-12 07:16:15 +00:00
Igor Sysoev
d9307664db
bump version
2009-03-12 07:12:25 +00:00
Igor Sysoev
000609ae76
fix segfaults introduced in r2549 and r2550
2009-03-11 13:04:02 +00:00
Igor Sysoev
da404fcfe5
bump version
2009-03-11 12:57:26 +00:00
Igor Sysoev
dc34dee2f2
fix segfaults introduced in r2550
2009-03-09 08:50:34 +00:00
Igor Sysoev
b91fa66fc8
style fix: remove tabs
2009-03-06 16:48:36 +00:00
Igor Sysoev
78c95de9da
XFS on Linux does not set dirent.d_type,
...
therefore fallback to stat() if dirent.d_type is not set,
this fixes slash after directory name in ngx_http_autoindex_module;
the issue has been introduced in r2235
2009-03-06 13:01:21 +00:00
Igor Sysoev
7ac9f3605c
captures support in server_name
2009-03-06 12:50:20 +00:00
Igor Sysoev
925baa0f95
captures support in location and alias
2009-03-06 12:49:22 +00:00
Igor Sysoev
1d05de49a3
now regex captures are per-request entities
2009-03-06 12:15:07 +00:00
Igor Sysoev
4b97b33336
pclcf->regex_locations are used with PCRE only
2009-03-05 08:24:17 +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
42c67dd5fb
fix case when the first try is shorter then URI
2009-03-01 19:10:36 +00:00
Igor Sysoev
288e503e92
lower ECONNRESET level
2009-02-25 14:27:34 +00:00
Igor Sysoev
3e7e9d72e5
fix segfault introduced in r2486 in $sent_http_location processing
2009-02-24 22:02:08 +00:00
Igor Sysoev
d7b3b48f0e
fix the previous commit
2009-02-24 14:25:24 +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
9b4a1d0094
use variable for often used field
2009-02-24 08:32:02 +00:00
Igor Sysoev
fed1ca0dc7
move r->virtual_names to ngx_http_core_srv_conf_t
2009-02-24 07:56:47 +00:00
Igor Sysoev
1966aedd6d
axe r->port_text
2009-02-24 07:29:55 +00:00
Igor Sysoev
50273503aa
remove seldom used variable
2009-02-24 07:21:35 +00:00
Igor Sysoev
2739121518
fix r2530
2009-02-24 07:12:39 +00:00
Igor Sysoev
4da223c8b5
axe unneeded port field
2009-02-23 21:30:31 +00:00
Igor Sysoev
80a4f29c8a
axe r->port
2009-02-23 21:19:35 +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
49e140ed6c
fix message
2009-02-23 09:42:35 +00:00
Igor Sysoev
8e1aa8ee9c
fix NGX_SOCKADDRLEN, introduced in r2513
2009-02-21 15:13:13 +00:00
Igor Sysoev
55a7aad835
bump version
2009-02-21 14:55:58 +00:00
Igor Sysoev
2bc44ea01a
fix upstream port, introduced in r2513
2009-02-21 14:34:32 +00:00
Igor Sysoev
e10385efe5
fix implicit listen, introduced in r2513
2009-02-21 10:23:30 +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
a883361c47
split ports, addresses, and server names preparation and optimization
2009-02-18 16:17:12 +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
be63760fc5
load SSL engine before certificates,
...
otherwise RSA keys will use built-in RSA methods
2009-02-16 13:37:58 +00:00
Igor Sysoev
b17bf52a27
set content-type for try_files' choice
2009-02-14 17:26:26 +00:00
Igor Sysoev
134d1a67c5
fix r2169 for .def.com and .abc.def.com case
2009-02-11 12:33:13 +00:00
Igor Sysoev
540ce1957f
bump version
2009-02-11 10:23:06 +00:00
Igor Sysoev
9786016076
fix /?new=arg?old=arg redirect case
2009-02-10 16:03:42 +00:00
Igor Sysoev
c43beec76f
send HELO/EHLO after XCLIENT
...
patch by Maxim Dounin
2009-02-10 15:19:45 +00:00
Igor Sysoev
2c33648e52
if_modified_since off
2009-02-10 15:05:05 +00:00
Igor Sysoev
09f6cd5fa9
compatibility with Microsoft's
...
AUTH LOGIN [base64 encoded user name ]
patch by Maxim Dounin
2009-02-09 12:03:55 +00:00
Igor Sysoev
9f751a8324
AIX has no WCOREDUMP()
2009-02-05 16:01:50 +00:00
Igor Sysoev
f3d540a022
bump version
2009-02-05 15:47:12 +00:00
Igor Sysoev
9a5f4c74cf
fix building by msvc, introduced in r2487
2009-02-02 10:17:06 +00:00
Igor Sysoev
32856e1bc8
avoid a double redirect response if
...
*) a request is going in a keep alive state,
*) the request body should be discarded,
*) epoll/rtsig reports about the response header has been sent,
*) and write event handler calls core phase handler
2009-01-31 20:44:30 +00:00
Igor Sysoev
bd5c23ee0a
avoid deep nested calls, flatten call tree
2009-01-31 20:34:26 +00:00
Igor Sysoev
8ef386e1af
fix return code, this fixes segfault when two or more
...
simultaneous connections are resolving the same address
2009-01-31 20:33:01 +00:00
Igor Sysoev
2c01fd32f2
use length of uncompressed name
2009-01-30 11:56:45 +00:00
Igor Sysoev
867d63bc1a
fix $sent_http_location for local redirects
2009-01-30 05:26:27 +00:00
Igor Sysoev
9258872c2a
store name pointer in variable allocated on stack
...
as resolver ctx may be already deallocated at this point
2009-01-29 14:35:23 +00:00
Igor Sysoev
fa748fe120
free addrs only it has been allocated before: non single address
2009-01-29 14:32:58 +00:00
Igor Sysoev
8629b9b27e
fix reverse resolving cache: it stored zero length names
...
*) free name only if it has been already allocated
*) store name length
2009-01-29 14:29:49 +00:00
Igor Sysoev
67392e8054
fix types and add comment
2009-01-27 16:22:02 +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
9aa30bc51e
revert the previous commit and r2447 change in src/core/ngx_cycle.c
2009-01-26 14:31:49 +00:00
Igor Sysoev
71f729c78c
default error_log has zero level, the bug has been introduced in r2447
2009-01-26 14:11:09 +00:00
Igor Sysoev
4b2844b8a0
fix slab page or more sized allocations if nginx was build without debug
2009-01-25 10:39:59 +00:00
Igor Sysoev
7a86f07057
fix fastcgi_store
2009-01-21 20:54:40 +00:00
Igor Sysoev
7dcbfe67ef
use GetFileAttributesEx() instead of GetFileAttributes()
2009-01-21 15:56:29 +00:00
Igor Sysoev
5aa6d223a6
fix win32 ngx_is_dir(), etc
2009-01-21 15:53:09 +00:00
Igor Sysoev
467f437e27
test ngx_file_info() result, the bug has been introduced in r2070
2009-01-21 15:50:52 +00:00
Igor Sysoev
1cf4988be6
fix r1981 on win32
2009-01-21 14:17:57 +00:00
Igor Sysoev
319dc27e8a
allow directories in try_files
2009-01-21 12:11:22 +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
977fd90d2b
try_files should work with files only
2009-01-19 11:24:25 +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
91cf00da17
set the error level as default http error_log level
2009-01-16 14:00:05 +00:00
Igor Sysoev
6019a7621b
proxy/fastcgi_store did not delete incomplete files
2009-01-16 13:57:00 +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
f7204173f9
in miss case memcached module returned END instead of default 404 page body
...
the bug has been introduced in r2269
2009-01-15 13:10:45 +00:00
Igor Sysoev
77a797436d
update r2439: make clear name
2009-01-13 06:47:29 +00:00
Igor Sysoev
103fe34052
fix r2312
2009-01-12 15:40:26 +00:00
Igor Sysoev
19961d20ce
style fix
2009-01-12 15:36:30 +00:00
Igor Sysoev
303df47fcb
send "100 Continue" just before reading request body
2008-12-26 13:43:42 +00:00
Igor Sysoev
2aae701ab7
do not send "100 Continue" for subrequests
2008-12-26 06:21:23 +00:00
Igor Sysoev
97bf6c760a
set send() slot for POSIX systems
2008-12-25 20:07: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
195860b74d
flush variable values in try_files
2008-12-24 07:14:01 +00:00
Igor Sysoev
d8e54adb6d
update r2422
2008-12-24 06:11:04 +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
8eb5ed2e77
fix r2378, do not activate subrequest if there are already
...
postponed subrequests or data
2008-12-23 17:25:46 +00:00
Igor Sysoev
ce55952790
fix the previous commit
2008-12-23 08:10:17 +00:00
Igor Sysoev
40e2269bfb
send "100 Continue" for HTTP/1.1 only
2008-12-22 15:44:13 +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
cf6c582b9a
fix segfault
2008-12-17 16:07:58 +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
d8e3d0b5a5
try_files
2008-12-15 10:56:48 +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
3dde93ba6c
fix segfault if no named location are defined, but are used
2008-12-11 17:32:52 +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
371766c0a5
$upstream_response_length
2008-12-11 15:30:52 +00:00
Igor Sysoev
2d83ed000f
style fix: remove tabs
2008-12-11 10:22:25 +00:00
Igor Sysoev
22f6d86cba
allow "~", "~*", "^~", and "=" before location name without space
2008-12-11 10:21:08 +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
0e17953679
fix r2394
2008-12-11 06:38:14 +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
45656b4051
fix debug logging
2008-12-10 14:48:04 +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
a70d3962bb
compact win32 errno logging
2008-12-09 17:41:17 +00:00
Igor Sysoev
c9aae14a7e
use "!= NGX_OK" instead of "== NGX_ERROR"
2008-12-09 17:27:48 +00:00
Igor Sysoev
04f7dbb9cd
remove stale pragma
2008-12-09 17:26:42 +00:00
Igor Sysoev
b9409a8e25
use already available r and u instead of ev
2008-12-09 17:25:03 +00:00
Igor Sysoev
f8ffc2eb59
delete unneeded call
2008-12-09 16:49:52 +00:00
Igor Sysoev
d30d8a3931
bump version
2008-12-09 11:13:12 +00:00
Igor Sysoev
3e15a9712a
fix r2378, run posted requests after upstream event handling
2008-12-08 18:28:06 +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
5bf2087462
allow POST without Content-Length
2008-12-08 14:04:31 +00:00
Igor Sysoev
0e32306bab
fix comment
2008-12-02 16:50:56 +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
15fbaa6612
read and process upstream header in cycle,
...
this fixes the case when local FastCGI server sends many warnings in stderr
2008-12-01 14:08:00 +00:00
Igor Sysoev
c6016b25cf
$cookie_... variable did not for SSI and perl
2008-12-01 13:59:35 +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
8ab0867644
allocate cf->conf_file and cf->conf_file->buffer on stack
2008-11-25 15:55:10 +00:00
Igor Sysoev
2a523f1c71
fix segfault on close error
2008-11-25 14:45:44 +00:00
Igor Sysoev
65eba4b692
ngx_reset_pool()
2008-11-25 14:25:20 +00:00
Igor Sysoev
ecbb69ad7f
*) increase ngx_conf_log_error() buffer
...
*) always log an error code
2008-11-25 13:00:53 +00:00
Igor Sysoev
33930d82ce
ngx_strerror_r() style and size == 0 bug fix
2008-11-25 11:26:32 +00:00
Igor Sysoev
de2f8c4ca5
use value rbtree instead of array in geo configuration
2008-11-22 20:42:51 +00:00
Igor Sysoev
9857082f09
variable value rbtree support
2008-11-22 20:42:01 +00:00
Igor Sysoev
1575d12bd7
bump version
2008-11-22 20:38:45 +00:00
Igor Sysoev
7f3c048e21
allow directio on XFS
2008-11-20 16:21:39 +00:00
Igor Sysoev
1bf7dc1884
low some SSL handshake errors level
2008-11-18 16:05:00 +00:00
Igor Sysoev
b3ac4fb27c
fix compression pointer for big (>255) DNS responses
2008-11-17 08:04:41 +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
2ab644895e
do not close session if SMTP backend returned an error on RCPT TO
...
patch by Maxim Dounin
2008-11-13 14:20:54 +00:00
Igor Sysoev
d67d8478a6
remove unused field
2008-11-13 13:30:34 +00:00
Igor Sysoev
d0e8e5456c
smtp_auth none
...
patch by Maxim Dounin
2008-11-13 13:25:34 +00:00
Igor Sysoev
a485909174
memcached response was stored in variable with END
2008-11-12 21:01:01 +00:00
Igor Sysoev
c8b40a2401
$cookie_... variable
2008-11-12 11:12:02 +00:00
Igor Sysoev
038a9201e6
bump version
2008-11-12 10:48:27 +00:00
Igor Sysoev
a25d29ff6f
the sysctl "kern.ostype" and "kern.osrelease" had appeared in MacOSX 10.5 only
2008-11-11 19:44:30 +00:00
Igor Sysoev
f2884e194a
compatibility with glibc 2.3, warn_unused_result attribute for write()
2008-11-11 16:17:45 +00:00
Igor Sysoev
ead8091746
style fix: remove trailing spaces
2008-11-11 16:04:05 +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
Igor Sysoev
05215534e7
exslt support
2008-11-11 15:22:24 +00:00
Igor Sysoev
bc70b323d3
bump version
2008-11-10 18:34:24 +00:00
Igor Sysoev
de2652c176
fix r2067
2008-11-10 15:25:11 +00:00
Igor Sysoev
abe378e820
ngx_http_limit_req_module
2008-11-10 15:22:33 +00:00
Igor Sysoev
74b7e5fadd
%f format
2008-11-10 15:20:59 +00:00
Igor Sysoev
698b8cb038
fix the previous commit
2008-11-06 19:54:54 +00:00
Igor Sysoev
3e8c2f7811
*) split ngx_http_gzip_body_filter()
...
*) send gzheader together with the filter's first output
2008-11-06 19:13:47 +00:00
Igor Sysoev
051d85f6b0
change int to size_t
2008-11-06 19:11:19 +00:00
Igor Sysoev
8329a5bc34
align first allocation from additional pool block, this fixes bus error on sun4v
2008-11-06 16:14:24 +00:00
Igor Sysoev
e4c10b25d4
do not pass gzheader separately as due to the previous commit
...
we do not use ctx->busy as flush condition
2008-11-05 16:27:45 +00:00
Igor Sysoev
4f79acbdd8
use nomem flag to flush busy bufs,
...
thus gzip filter does not depend on NGX_AGAIN return code
2008-11-05 15:46:41 +00:00
Igor Sysoev
694c84975d
fix r1913
2008-10-30 15:59:10 +00:00
Igor Sysoev
164abfb26f
fix case proxy_pass URL is evaluted to http://host?args
2008-10-24 19:34:24 +00:00
Igor Sysoev
c239da5055
fix case when URL has no port, but has ":" in URI part,
...
the bug has been introduced in r2204
2008-10-24 15:12:11 +00:00
Igor Sysoev
571a5e1512
show name for a FORMERR DNS response
2008-10-24 14:38:09 +00:00
Igor Sysoev
1c2bb210c1
FORMERR DNS response may be equal to mininal query size
2008-10-24 14:34:10 +00:00
Igor Sysoev
a862c46ffa
always use buffer, if connection is buffered,
...
this fixes OpenSSL "bad write retry" error, when
*) nginx passed a single buf greater than our buffer (say 32K) to OpenSSL,
*) OpenSSL returns SSL_ERROR_WANT_WRITE,
*) after some time nginx has to send a new data,
*) so there are at least two bufs nginx does pass them directly to OpenSSL,
*) but copies the first buf part to buffer, and sends the buffer to OpenSSL.
*) because the data length is lesser than it was in previous SSL_write():
16K < 32K, OpenSSL returns SSL_R_BAD_WRITE_RETRY.
2008-10-23 05:58:10 +00:00
Igor Sysoev
0c689b7498
allow short secure links
2008-10-21 12:33:23 +00:00
Igor Sysoev
6645e76e38
fix server_addr value known from configuration, bug introduced in r2199
2008-10-17 12:36:48 +00:00
Igor Sysoev
ad1e123bfa
NGX_OPEN_FILE_DIRECTIO_OFF
2008-10-16 13:31:00 +00:00
Igor Sysoev
84ab8f2bc8
bump version
2008-10-16 13:20:47 +00:00
Igor Sysoev
df2e1a56d0
bump version
2008-10-13 13:23:18 +00:00
Igor Sysoev
bc72beb71a
do not set "Transfer-Encoding: chunked" for HEAD requests
2008-10-02 15:40:01 +00:00
Igor Sysoev
674371499c
fix r2122:
...
*) update file buf pointers,
*) avoid "zero buf" alert
2008-10-02 15:38:26 +00:00
Igor Sysoev
797c6ef394
*) ngx_http_upstream_test_next()
...
*) add proxy_next_upstream http_502 and http_504
*) fix http_503
2008-09-30 15:39:02 +00:00
Igor Sysoev
d01eea1e18
ngx_http_upstream_intercept_errors()
2008-09-30 14:57:09 +00:00
Igor Sysoev
eb7cfa0a2f
back out $random_index variable
2008-09-30 13:17:14 +00:00
Igor Sysoev
eb62fa0e73
refactor log_subrequest
2008-09-29 13:18:41 +00:00
Igor Sysoev
5d1dcce2c5
update log_subrequest
2008-09-29 07:12:04 +00:00
Igor Sysoev
4ca2acfce0
disable $realpath_root variable in a "root" directive
2008-09-29 04:47:22 +00:00
Igor Sysoev
9059ecae83
fix the previous commit
2008-09-29 04:46:21 +00:00
Igor Sysoev
2eec1e1ff2
*) log_subrequest
...
*) flush variables in access log
2008-09-27 15:08:02 +00:00
Igor Sysoev
e52991ecbe
ngx_http_secure_link_module
2008-09-27 13:22:10 +00:00
Igor Sysoev
6736614275
$realpath_root
2008-09-27 11:53:41 +00:00
Igor Sysoev
0100cbc5f3
$random_index variable
2008-09-27 11:48:28 +00:00
Igor Sysoev
e5a30cb6a9
real_ip_header supports any header
2008-09-25 19:51:56 +00:00
Igor Sysoev
753792e108
underscores_in_headers
2008-09-24 14:02:50 +00:00
Igor Sysoev
e17cc987d3
dynamic accept threshold
2008-09-19 12:47:13 +00:00
Igor Sysoev
c9ff5b6dff
fix grammar
2008-09-17 08:03:58 +00:00
Igor Sysoev
f8403702ba
bump version
2008-09-15 17:10:23 +00:00
Igor Sysoev
05a7656d2c
set request handlers, this fixes complex proxied 400 handler with SSI includes
2008-09-15 16:44:37 +00:00
Igor Sysoev
ea1c7c7f16
$pid
2008-09-15 16:41:08 +00:00
Igor Sysoev
fae2c00d02
disable directio for unaligned reads in Linux
2008-09-12 13:50:12 +00:00
Igor Sysoev
0f8ea4de46
disable directio for access_log with variables
2008-09-12 13:44:10 +00:00
Igor Sysoev
77cdae1814
cache directio flag in open file cache
2008-09-12 13:39:51 +00:00
Igor Sysoev
d0df295655
add filename to the log message
2008-09-11 15:52:11 +00:00
Igor Sysoev
316542508b
strip charset name quotes
2008-09-09 11:58:45 +00:00
Igor Sysoev
44b1a12750
bump version
2008-09-08 09:49:22 +00:00
Igor Sysoev
a19c7b5ad6
fix building on 64-bit platforms, introduced in r2232
2008-09-08 09:33:37 +00:00
Igor Sysoev
196f952551
bump version
2008-09-08 08:47:00 +00:00
Igor Sysoev
f8c4ae3151
allow underscores in client request header lines
2008-09-08 08:26:42 +00:00
Igor Sysoev
2e2b81d213
ngx_http_random_index_module
2008-09-05 15:45:55 +00:00
Igor Sysoev
dfc8dadd04
*) autoconfigure struct dirent capabilities
...
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and
delete src/os/.../ngx_types.h
2008-09-05 15:43:34 +00:00
Igor Sysoev
5d4e80b8fb
remove unused #include's
2008-09-05 15:25:47 +00:00
Igor Sysoev
c3995ff670
style fix
2008-09-05 14:53:17 +00:00
Igor Sysoev
8633e1fa06
*) handle unaligned file part for directio
...
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
98007c1761
split ngx_output_chain()
2008-09-03 10:01:29 +00:00
Igor Sysoev
3b63d7cbb3
bump version
2008-09-01 15:44:57 +00:00
Igor Sysoev
cf0c445a14
fix building by msvc introduced in r2223
2008-09-01 15:17:54 +00:00
Igor Sysoev
4084b12041
escape a query string characters taken from URI while rewrite
2008-09-01 14:43:38 +00:00
Igor Sysoev
f100c7816d
*) listen ssl
...
*) no default ssl_cetificate and ssl_cetificate_key
2008-09-01 14:19:01 +00:00
Igor Sysoev
0c16f73b4e
style fix: remove tabs and trailing spaces
2008-09-01 14:05:20 +00:00
Igor Sysoev
63c78f3c34
test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bug
2008-09-01 13:59:11 +00:00
Igor Sysoev
f4423eb7b5
use ngx_pmemalign() to allocate radix pages
2008-09-01 13:52:55 +00:00
Igor Sysoev
fcb5a705dd
ngx_timezone_update()
2008-08-30 19:52:07 +00:00
Igor Sysoev
d76eb9a8c8
set listen configuration to default server,
...
this fixes the case, when default server is not the first one
2008-08-29 13:43:38 +00:00
Igor Sysoev
e04b4204a8
remove unused debug log
2008-08-27 13:26:35 +00:00
Igor Sysoev
c48f49f837
quoted too long parameter error
2008-08-27 12:19:07 +00:00
Igor Sysoev
6d09950cd8
too long parameter error
2008-08-26 21:10:20 +00:00
Igor Sysoev
a1bccd199e
remove never used macro
2008-08-26 21:05:59 +00:00
Igor Sysoev
a6e337fdef
fix types
2008-08-26 21:04:06 +00:00
Igor Sysoev
b0f1db1010
bump version
2008-08-26 17:23:27 +00:00
Igor Sysoev
316eafb88d
fix build on Linux and Solaris introduced in r2200
2008-08-26 17:15:11 +00:00
Igor Sysoev
e56cc8e503
bump version
2008-08-26 16:23:14 +00:00
Igor Sysoev
d3bf7c1cd5
fix bugs introduced in r2204
2008-08-26 16:11:30 +00:00
Igor Sysoev
54477e417a
gzip_disable msie6
2008-08-26 15:09:28 +00:00
Igor Sysoev
333723e001
fix divide by zero if max_fails=0
2008-08-26 14:34:16 +00:00
Igor Sysoev
c9491d113c
*) refactor ngx_parse_inet_url()
...
*) refactor ngx_parse_unix_domain_url()
*) delete unused ngx_url_t fields
2008-08-26 14:24:14 +00:00
Igor Sysoev
9c388c0a7f
*) refactor ngx_ptocidr()
...
*) allow address without bitmask
*) thus now ngx_http_geo_module accepts addresses without bitmask
2008-08-26 14:19:37 +00:00
Igor Sysoev
caa4a45c0f
ngx_strlchr()
2008-08-26 14:16:36 +00:00
Igor Sysoev
154013c5f3
split ngx_parse_url()
2008-08-22 13:36:56 +00:00
Igor Sysoev
843ad94e81
fix building on FreeBSD prior to 4.8, it has no GLOB_NOMATCH
2008-08-22 12:54:32 +00:00
Igor Sysoev
c5849a6381
ngx_sock_ntop() takes family from sockaddr, remove duplicate field
2008-08-21 19:24:07 +00:00
Igor Sysoev
6a75019ad6
*) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()
...
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop()
as they are called just once per connection
*) NGX_INET_ADDRSTRLEN
2008-08-21 18:47:23 +00:00
Igor Sysoev
bbe42c41e8
call ngx_http_xslt_filter_exit()
2008-08-21 18:21:40 +00:00
Igor Sysoev
b29426deb8
server_name "" support
2008-08-21 12:56:10 +00:00
Igor Sysoev
cbc7c6177c
fix $r->header_in() for "User-Agent", "Connection", and "Host"
...
broken in r2005, r2006, and r2008.
2008-08-19 19:40:45 +00:00
Igor Sysoev
1a8cbb8663
leave HEAD method while error_page redirection
2008-08-19 18:55:46 +00:00
Igor Sysoev
c9482c6ead
do not discard body while error_page redirection
2008-08-19 12:23:18 +00:00
Igor Sysoev
1de8bb5bd6
bump version
2008-08-18 14:29:57 +00:00
Igor Sysoev
fa92df4bd4
remove text/css from default charset_types
...
as it does not usually require recoding
2008-08-18 13:38:17 +00:00
Igor Sysoev
dc911287e8
*) regex match must return NGX_OK to stop regex searching,
...
this fixes inclusive regex location
*) change NGX_HTTP_INTERNAL_SERVER_ERROR to NGX_ERROR
2008-08-17 18:02:55 +00:00
Igor Sysoev
9a70242f07
fix noregex for inclusive locations
2008-08-17 17:58:16 +00:00
Igor Sysoev
916ee8ecea
proxy_ssl_session_reuse
2008-08-17 17:47:52 +00:00
Igor Sysoev
f60dde9767
disable original URI usage in proxy_pass after X-Accel-Redirect
2008-08-17 17:44:08 +00:00
Igor Sysoev
d3cbd87f50
allow file existence test for POST requests in static module
2008-08-17 17:42:42 +00:00
Igor Sysoev
a03bb0bc77
ignore NGX_EACCES error while directory test
2008-08-17 17:38:48 +00:00
Igor Sysoev
b17e33293a
fix log message
2008-08-15 20:14:49 +00:00
Igor Sysoev
6f39513828
bump version
2008-08-13 16:59:16 +00:00
Igor Sysoev
cf1735e458
restore connection address on request closure,
...
this fixes the issue when a frontend before nginx sends various client
connections via keepalive connection to nginx
2008-08-13 16:31:01 +00:00
Igor Sysoev
c71e3d8f81
*) fix segfaults in types hash
...
*) fix inheritance: default hash instead of inherited one
2008-08-13 16:25:48 +00:00
Igor Sysoev
d1853490da
disable error_page loop in 500 error when recursive errors are enabled
2008-08-13 09:00:13 +00:00
Igor Sysoev
85aebb0077
bump version
2008-08-12 15:46:34 +00:00
Igor Sysoev
1c7d449fa8
fix the case when unset domain.tld was matched by *.domain.tld
2008-08-12 15:28:19 +00:00
Igor Sysoev
d1b615815a
*) charset_types
...
*) change of default charset types
*) addition_types
2008-08-12 13:17:08 +00:00
Igor Sysoev
390abe0772
use hash in gzip_types, ssi_types, and sub_filter_types
2008-08-12 13:11:36 +00:00
Igor Sysoev
a408b2ba2d
backout both r2162 and r2128 and implement a new fix
2008-08-12 12:04:49 +00:00
Igor Sysoev
af9bb9a14e
check daily time range
2008-08-11 17:50:37 +00:00
Igor Sysoev
88c295c009
expires daily time
2008-08-11 15:28:35 +00:00
Igor Sysoev
c271775902
ngx_next_time()
2008-08-11 15:28:15 +00:00
Igor Sysoev
2ff9a4b334
SSL connection readiness is required for level-triggered events only,
...
broken in r2128
2008-08-11 15:25:40 +00:00
Igor Sysoev
6e99c76c71
consider log_not_found while testing index files
2008-08-11 15:22:40 +00:00
Igor Sysoev
f98f98610e
clear Last-Modified; set content-type and length for main request only
2008-08-06 13:18:57 +00:00
Igor Sysoev
f36ae41e36
disable ranges, because xslt filter runs after range body filter
2008-08-06 09:38:34 +00:00
Igor Sysoev
e24b57ad9f
ngx_cpp_test_module
2008-08-05 19:32:50 +00:00
Igor Sysoev
36876c3d6c
reuse compiled DTD hash in different locations, add DTD cleanup
2008-08-05 19:05:15 +00:00
Igor Sysoev
2278ea09b6
update debug logging
2008-08-05 15:19:21 +00:00
Igor Sysoev
4ea51081b3
reuse compiled XSLT tree in different locations
2008-08-05 14:27:49 +00:00
Igor Sysoev
993aeefc54
xsl:output's media-type and encoding support
2008-08-05 14:24:16 +00:00
Igor Sysoev
1dcebd8dcb
we do not need dtd->name
2008-08-05 13:08:35 +00:00
Igor Sysoev
f8c0d8ade9
xslt_stylesheet should be valid for location only
2008-08-05 13:07:42 +00:00
Igor Sysoev
c097e83881
fix xslt module context levels
2008-08-05 06:21:15 +00:00
Igor Sysoev
ca824f3cfa
update debug logging
2008-08-04 21:51:36 +00:00
Igor Sysoev
b47aed9005
style fix
2008-08-04 20:25:51 +00:00
Igor Sysoev
2b29a703bb
fix building by bcc broken in r2143
2008-08-04 20:23:21 +00:00
Igor Sysoev
40db7a19b1
bump version
2008-08-04 16:45:52 +00:00
Igor Sysoev
b83f893c75
Solaris directio()
2008-08-04 15:32:10 +00:00
Igor Sysoev
90815b49af
fix building by msvc8 introduced in r2127
2008-08-04 14:56:25 +00:00
Igor Sysoev
ac721d0647
if upstream sent a location header without status use 302
2008-08-04 14:53:16 +00:00
Igor Sysoev
1ae389d2f7
ngx_http_xslt_filter_module
2008-08-04 14:48:15 +00:00
Igor Sysoev
b5bc3f989f
test Content-Type via hash:
...
*) ngx_http_test_content_type()
*) ngx_http_types_slot()
*) ngx_http_merge_types()
2008-08-04 11:29:09 +00:00
Igor Sysoev
42511c05c7
$arg_... variable
2008-08-04 11:10:52 +00:00
Igor Sysoev
6a07833d47
ngx_hash_strlow()
2008-08-04 10:18:36 +00:00
Igor Sysoev
777b019c73
ngx_strlow()
2008-08-04 10:07:00 +00:00
Igor Sysoev
eb3e4c8be0
fix building by bcc broken in r2130
2008-08-04 09:14:30 +00:00
Igor Sysoev
a3e9f7d306
fix conflicting names "true" and "false"
2008-07-31 07:55:46 +00:00
Igor Sysoev
e513a89220
bump version
2008-07-30 13:38:49 +00:00
Igor Sysoev
385af28642
directio
2008-07-30 12:34:04 +00:00
Igor Sysoev
7494490978
*) move Darwin support to separate files
...
*) Darwin sendfile() support
2008-07-30 12:18:07 +00:00
Igor Sysoev
ec0b579f75
update connection readiness after SSL handshake,
...
this fixes mail proxy SSL connection hanging if level-triggered event is used
2008-07-30 06:12:30 +00:00
Igor Sysoev
0f17f6ce9f
case insensitive file system location support provided by locale only
2008-07-29 16:55:11 +00:00
Igor Sysoev
a089857143
rename ngx_utf_...() to ngx_utf8_...()
2008-07-29 14:41:34 +00:00
Igor Sysoev
4c756c46cd
fix typo
2008-07-29 14:31:03 +00:00
Igor Sysoev
49ed6f3eec
*) ssl_verify_client ask
...
*) test ssl_client_certificate for ssl_verify_client
*) $ssl_client_cert adds TAB before each line except first one
*) $ssl_client_raw_cert contains certificate as is
2008-07-29 14:29:02 +00:00
Igor Sysoev
88634bf06b
allow range for partial flv response
2008-07-29 13:58:56 +00:00
Igor Sysoev
4a1b032901
support several buf's for single-part range
...
patch by Maxim Dounin
2008-07-29 13:58:13 +00:00
Igor Sysoev
96eaa05fd2
fix utf-8 names in autoindex
2008-07-25 14:29:05 +00:00
Igor Sysoev
6df67879a0
fix ranges without Content-Type
2008-07-23 16:30:42 +00:00
Igor Sysoev
c6742cff8e
split ngx_http_range_filter_module
2008-07-23 16:18:37 +00:00
Igor Sysoev
58e9f22bfd
handle connect()'s EAGAIN on Linux
2008-07-09 15:42:13 +00:00
Igor Sysoev
82911ceb0c
bump version
2008-07-07 12:19:57 +00:00
Igor Sysoev
edf1c8c1b8
always test root existence for access_log with variables
2008-07-07 09:26:13 +00:00
Igor Sysoev
4f677fd203
allow several values in query string
2008-07-04 12:59:53 +00:00
Igor Sysoev
8d9c63f677
show an error message for invalid parameter
2008-07-03 19:19:45 +00:00
Igor Sysoev
0ac3516a02
bump version
2008-07-01 07:38:28 +00:00
Igor Sysoev
ba6fc40c4c
nginx could not be build without gzip, introduced in r2052
2008-07-01 06:31:16 +00:00
Igor Sysoev
06d2147139
NULL script in default access_log
2008-07-01 06:26:48 +00:00
Igor Sysoev
098ac90bc8
fix error when response parsed by sub filter, then by SSI filter
...
and some response parts are output as file buffers
2008-06-30 19:10:06 +00:00
Igor Sysoev
0da6d2f675
fix variable access_log merging
2008-06-30 15:51:28 +00:00
Igor Sysoev
504efffca8
fix error message
2008-06-30 15:32:57 +00:00
Igor Sysoev
4cb276ae21
bump version
2008-06-30 12:46:40 +00:00
Igor Sysoev
b4fbdcf5d4
-g switch
2008-06-30 12:35:16 +00:00
Igor Sysoev
b882154636
variables in access_log
2008-06-30 12:27:24 +00:00
Igor Sysoev
c3584fec61
fix comment
2008-06-30 12:12:16 +00:00
Igor Sysoev
bf93476272
fix the previous commit
2008-06-30 12:11:47 +00:00
Igor Sysoev
d6711d37c3
use ngx_file_info() and test uniq if file is already open
2008-06-26 16:10:13 +00:00
Igor Sysoev
5a0eac8692
ngx_memzero() ngx_open_file_info_t
2008-06-26 14:07:59 +00:00
Igor Sysoev
1e1f4c8a04
the "Expect" header support
2008-06-26 13:00:39 +00:00
Igor Sysoev
24329bf299
fix bug when inactive subrequest is truncated,
...
if output_buffers are less than subrequest size
2008-06-26 12:45:37 +00:00
Igor Sysoev
eb03ea7458
refactor obscure code
2008-06-25 14:56:14 +00:00
Igor Sysoev
3e6f74da05
initialize of.uniq in ngx_open_cached_file()
2008-06-23 13:35:34 +00:00
Igor Sysoev
ce1e64f404
prepare to allow various number of connections in child processes
2008-06-23 13:23:29 +00:00
Igor Sysoev
f2a1484347
change useless ngx_pcalloc() to ngx_pnalloc()
2008-06-23 12:27:03 +00:00
Igor Sysoev
96a1ea9d22
bump version
2008-06-23 10:50:18 +00:00
Igor Sysoev
3cc03616e9
fix max size allocated from pool
2008-06-21 06:40:32 +00:00
Igor Sysoev
11864a706a
fix the previous commit
2008-06-20 21:06:53 +00:00
Igor Sysoev
5a4c61658b
small optimization
2008-06-20 20:57:40 +00:00
Igor Sysoev
0b5e77f416
auto detect https redirect in rewrite
2008-06-20 14:48:28 +00:00
Igor Sysoev
da02ddc6fd
fix "proxy_pass https://..." broken in r1427
2008-06-20 14:42:54 +00:00
Igor Sysoev
c49ed61376
"gzip_vary on" always sends "Vary: Accept-Encoding" header
2008-06-20 14:41:03 +00:00
Igor Sysoev
77c287f35d
disable charset if there is "Content-Encoding" header
2008-06-20 14:33:36 +00:00
Igor Sysoev
7f6b2ffc60
*) back out r2040
...
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
2008-06-17 15:00:30 +00:00
Igor Sysoev
c2eb2cf4cb
bump version
2008-06-16 09:11:12 +00:00
Igor Sysoev
81f9c9dc72
$ssl_client_cert
2008-06-16 05:54:18 +00:00
Igor Sysoev
df83e6f81a
DH parameters, ssl_dhparam
2008-06-16 05:51:32 +00:00
Igor Sysoev
b0780752b0
after URI was rewritten location configuration should be to a server's null one
2008-06-15 19:07:35 +00:00
Igor Sysoev
a3a792b1ee
fix building without PCRE introduced in r2023
2008-06-07 12:08:38 +00:00
Igor Sysoev
a5bf33601b
style fix
2008-05-28 12:27:08 +00:00
Igor Sysoev
9709aaa2f4
fix building by bcc/etc introduced in r2038
2008-05-28 12:26:20 +00:00
Igor Sysoev
2d951bfa41
*) add ngx_palloc_aligned() to allocate explicitlty aligned memory
...
*) allows non-aligned memory blocks for small allocations and for odd
length strings on all platforms
*) use ngx_palloc_aligned()
2008-05-27 09:37:40 +00:00
Igor Sysoev
626cd7e7be
add args in redirect to a directory
2008-05-26 18:57:43 +00:00
Igor Sysoev
d412ece2fc
fix debug logging
2008-05-26 18:49:36 +00:00
Igor Sysoev
2ae6727da7
fix error log message
2008-05-26 10:54:59 +00:00
Igor Sysoev
9b1fe56148
bump version
2008-05-26 09:54:17 +00:00
Igor Sysoev
d6548faf64
ssl_session_cache none
2008-05-26 07:14:13 +00:00
Igor Sysoev
4c8eb4263f
read channel until EAGAIN
2008-05-25 18:27:38 +00:00
Igor Sysoev
7a0e5d97b6
remove directives deprecated in 0.3.x
2008-05-24 15:48:50 +00:00
Igor Sysoev
5cdb2ce66e
*) remove optimize_host_names
...
*) deprecate optimize_server_names: it is not needed since
server_name_in_redirect introduction
2008-05-24 15:43:48 +00:00
Igor Sysoev
7e2c4eef9c
move configuration phase only field to the end of structure
2008-05-24 14:46:46 +00:00
Igor Sysoev
e55988c069
locations tree
2008-05-24 14:14:13 +00:00
Igor Sysoev
5cdc511fcd
new ngx_queue functions
2008-05-24 14:10:01 +00:00
Igor Sysoev
89e0aad840
delete useless lines
2008-05-22 14:28:25 +00:00
Igor Sysoev
3b30476068
style fix
2008-05-22 12:09:41 +00:00
Igor Sysoev
61e991c70a
axe never used variables
2008-05-22 11:11:16 +00:00
Igor Sysoev
6d14e65056
split ngx_http_block() further
2008-05-22 11:07:08 +00:00
Igor Sysoev
87ac67fbd1
split ngx_http_block()
2008-05-22 09:57:47 +00:00
Igor Sysoev
f3be0b33c2
delete outdated debug logging that only causes segfault if enabled
2008-05-22 07:10:36 +00:00
Igor Sysoev
cdd4354b49
style fix
2008-05-21 17:39:51 +00:00
Igor Sysoev
ccd55fc2ca
fix building on modern Fedora 9 caused by IOV_MAX
2008-05-20 13:45:07 +00:00
Igor Sysoev
f9d923e5fe
bump version
2008-05-19 10:45:57 +00:00
Igor Sysoev
48242f4b08
avoid recursive loop
2008-05-19 10:24:22 +00:00
Igor Sysoev
f1e58930c8
expires modified
2008-05-16 15:18:50 +00:00
Igor Sysoev
69988d1162
$uid_got and $uid_set may used at any time
2008-05-16 15:03:37 +00:00
Igor Sysoev
3be5257a4f
$hostname variable
2008-05-16 14:39:06 +00:00
Igor Sysoev
5f3521cf4f
escape 0x00-0x1f, ", and \ in access log variables
2008-05-15 15:09:39 +00:00