Igor Sysoev
541d8c698a
we can free GeoIPRecord just after GeoIP_region_name_by_code(),
...
because it returns a statically allocated string
2010-08-03 18:38:08 +00:00
Igor Sysoev
a999586594
fix segfault, the bug has been introduced in r3738
2010-08-03 18:27:56 +00:00
Igor Sysoev
6dd6aefaa7
bump version
2010-08-03 18:24:18 +00:00
Igor Sysoev
395f35e5fa
$geoip_region_name
2010-08-03 15:01:34 +00:00
Igor Sysoev
dc87ab5a69
$geoip_dma_code and $geoip_area_code
2010-08-03 14:19:49 +00:00
Igor Sysoev
41212d27fa
fix fastcgi_split_path_info, if URI was not fully captured
2010-08-03 13:35:48 +00:00
Igor Sysoev
81cd5e4f6f
*) make code consistent to fastcgi, etc
...
*) remove STUB comment
2010-08-03 12:59:14 +00:00
Igor Sysoev
e4994fbacb
use NULL instead of 0
2010-08-03 12:53:06 +00:00
Igor Sysoev
b16b8ddae6
delete surplus assignment
2010-08-03 09:42:53 +00:00
Igor Sysoev
90f95522a5
inherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass inside
...
a limit_except block if no handler was defined for the block
2010-08-03 09:24:25 +00:00
Igor Sysoev
0ec5492189
ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()
...
may be used at merge phase
2010-08-02 15:28:04 +00:00
Igor Sysoev
6d9d07b16a
fix directive type
2010-08-02 12:47:52 +00:00
Igor Sysoev
029299aaa4
change logic slightly
2010-08-02 12:34:15 +00:00
Igor Sysoev
c7b2e2a570
change order
2010-08-02 12:32:33 +00:00
Igor Sysoev
2108fabea2
*) delete cache key node after a cache file removal
...
*) move fileless cache key node removal in ngx_http_file_cache_delete()
2010-08-02 12:27:58 +00:00
Igor Sysoev
0e0e0af51b
escape ";" in arguments
2010-07-30 13:25:19 +00:00
Igor Sysoev
1cd46b88a4
count cache key node usage for cached error statuses
2010-07-30 12:41:55 +00:00
Igor Sysoev
09ce1e2d89
do not free unused cache node if cache min_uses > 1,
...
the bug has been introduced in r3695, r3708, r3711
2010-07-30 10:20:08 +00:00
Igor Sysoev
10f8d5d74e
return 415 on too big image in image filter
2010-07-29 15:40:03 +00:00
Igor Sysoev
7c50789e2a
change default server_name_in_redirect value to off,
...
since default server_name is empty
2010-07-29 10:01:31 +00:00
Igor Sysoev
a69cf2d005
use an empty name as default server_name instread of hostname
2010-07-29 10:00:04 +00:00
Igor Sysoev
e8cf60da34
allow server_name "" as the first name
2010-07-29 09:55:54 +00:00
Igor Sysoev
6b45b065fe
decrease SSL handshake error level to info
2010-07-29 09:30:15 +00:00
Igor Sysoev
6f2796af04
bump version
2010-07-29 08:10:22 +00:00
Igor Sysoev
9135a0e022
move debug logging inside ngx_http_file_cache_free()
2010-07-28 15:56:56 +00:00
Igor Sysoev
14c95f99ac
fix $request_time for subrequests
2010-07-28 15:51:50 +00:00
Igor Sysoev
406a68003c
several changes in cache cleanup handling:
...
*) now ngx_http_file_cache_cleanup() uses ngx_http_file_cache_free()
*) ngx_http_file_cache_free() interface has been changed to accept r->cache
ngx_http_file_cache_cleanup() must use r->cache, but not r, because
there can be several r->cache's during request processing, r->cache may
be NULL at request finalising, etc.
*) test if updating request does not complete correctly
2010-07-28 15:49:34 +00:00
Igor Sysoev
18b36e5035
fix r3708 and r3695: valid_sec is set only for caching error status codes
2010-07-27 19:11:17 +00:00
Igor Sysoev
6af21b7cda
fix r3707: cache node should be freed be a response is not cached
2010-07-27 15:26:33 +00:00
Igor Sysoev
3cf3100977
fix typo
2010-07-27 13:04:13 +00:00
Igor Sysoev
4b7637adb6
fix r3695: this commit
...
*) freed valid keys zone node
*) and did not decrease cache size, so cache manager process ete CPU time,
if cache checking max_size was enabled
2010-07-27 11:22:59 +00:00
Igor Sysoev
f297d0dd27
an intercepted error code was not cached
2010-07-19 15:31:46 +00:00
Igor Sysoev
cc963cd7e2
style fix
2010-07-19 15:29:16 +00:00
Igor Sysoev
b1327bd842
initialize r->cache->file.fd with NGX_INVALID_FILE
2010-07-19 15:28:22 +00:00
Igor Sysoev
1daef7d1b0
bump version
2010-07-19 15:27:06 +00:00
Igor Sysoev
47f5f947bc
add warnings for proxy_no_cache and fastcgi_no_cache
2010-07-19 09:55:43 +00:00
Igor Sysoev
f7d659aa52
proxy_cache_pass, fastcgi_cache_bypass, uwsgi_cache_bypass, scgi_cache_bypass
2010-07-19 09:36:04 +00:00
Igor Sysoev
6a47b43234
rename ngx_http_file_cache_create() to ngx_http_file_cache_new()
2010-07-16 10:01:49 +00:00
Igor Sysoev
9aa3d7f667
ngx_http_file_cache_create()
2010-07-15 14:01:02 +00:00
Igor Sysoev
9e9cbee81e
ngx_http_file_cache_name()
2010-07-15 13:46:32 +00:00
Igor Sysoev
0e73a5bfb7
style fix
2010-07-15 13:10:05 +00:00
Igor Sysoev
85992f9eb3
delete empty cache zone node if we could not get response to cache
2010-07-15 13:08:51 +00:00
Igor Sysoev
4769d10604
fix scgi_no_cache and uwsgi_no_cache initialization
2010-07-14 11:29:19 +00:00
Igor Sysoev
f3870c66df
use ngx_http_test_predicates(), ngx_http_set_predicate_slot()
...
delete ngx_http_cache(), ngx_http_no_cache_set_slot()
2010-07-14 11:15:45 +00:00
Igor Sysoev
7fc29052e8
ngx_http_test_predicates(), ngx_http_set_predicate_slot()
2010-07-14 11:13:59 +00:00
Igor Sysoev
e48f042f40
bump version
2010-07-14 11:09:56 +00:00
Igor Sysoev
5a19097c9b
allow setfib=0
2010-07-13 10:17:09 +00:00
Igor Sysoev
618703b5b6
use xmlSAXHandler._private field to store xslt filter context
2010-07-12 12:52:01 +00:00
Igor Sysoev
a2d9995ca1
fix building by msvc7
2010-07-08 16:17:11 +00:00
Igor Sysoev
f9dd541edb
fix typo
2010-07-08 14:02:09 +00:00
Igor Sysoev
40b4ba1663
style fix
2010-07-08 13:49:21 +00:00
Igor Sysoev
7aa1f5bf4a
update r->buffered after processing SSI command,
...
the bug has been probably introduced in r2378
2010-07-07 10:17:19 +00:00
Igor Sysoev
a2e846242f
bump version
2010-07-07 10:09:44 +00:00
Igor Sysoev
0bd7a7d894
listen setfib=X
2010-07-05 13:49:16 +00:00
Igor Sysoev
1a5d7553da
fix case of partially matched patterns on buffer border in sub_filter
2010-07-05 13:45:10 +00:00
Igor Sysoev
a5ee005a27
fix recognition of SSLv2 Client Hello Packet large than 255 bytes
2010-07-05 13:35:20 +00:00
Igor Sysoev
802bc23574
try to use C99 variadic macros first:
...
AIX 5.3's XL C has problems with GCC style variadic macros
2010-07-05 13:02:25 +00:00
Igor Sysoev
ee37271a0f
fix building by owc12: GetLongPathName() is available since Win2K only
2010-07-05 12:47:35 +00:00
Igor Sysoev
497c13774d
HP/UX uses EWOULDBLOCK instead of EAGAIN
2010-07-03 20:16:55 +00:00
Igor Sysoev
0cb0c67e3a
do not use a cache headers set to hide
2010-07-02 10:05:40 +00:00
Igor Sysoev
0bd1809f05
treat Set-Cookie as a header that forbids caching
2010-07-02 09:49:27 +00:00
Igor Sysoev
9a00d69413
update the previous commit
2010-07-02 09:28:50 +00:00
Igor Sysoev
7e14b50c28
use shared ngx_http_upstream_ignore_headers_masks[]
2010-07-02 09:25:38 +00:00
Igor Sysoev
187538d1eb
bump version
2010-07-01 12:56:32 +00:00
Igor Sysoev
fb7b45d20e
remove r->zero_body unused since the previous commit
2010-06-30 14:42:15 +00:00
Igor Sysoev
ffcae99251
Fix processing
...
error_page 502 504 /zero;
location = /zero { return 204; }
The bug has been introduced in r3634.
The fix also allow to use:
error_page 502 504 = /zero;
location = /zero { return 200; }
This case still does not work:
error_page 502 504 /zero;
location = /zero { return 200; }
2010-06-30 14:39:28 +00:00
Igor Sysoev
bcd78e22e9
change logic introduced in r3649:
...
*) now $uid_set is cacheable again
*) allow to see at any processing stage that uid cookie is remarked
2010-06-30 14:30:55 +00:00
Igor Sysoev
178cd2da2b
style fix: remove tabs
2010-06-30 14:28:54 +00:00
Igor Sysoev
6db47f4c81
set uid values for main request only
2010-06-30 13:15:20 +00:00
Igor Sysoev
ce03ba019e
fix IPv6 listen socket handling while reconfiguring
2010-06-30 12:01:56 +00:00
Igor Sysoev
c31c38b95e
fix ngx_write_file() buf
2010-06-30 10:33:02 +00:00
Igor Sysoev
ffcc2f4a9e
test binary geo range base size
2010-06-30 10:13:51 +00:00
Igor Sysoev
3b0ddc2097
test the second binary geo range base existence
2010-06-30 10:12:46 +00:00
Igor Sysoev
e3d88fb8eb
test binary geo ranges base only for ranges
2010-06-30 10:05:56 +00:00
Igor Sysoev
4655c721e8
test binary gep range base mtime
2010-06-30 10:02:05 +00:00
Igor Sysoev
edf29ef8cd
binary geo ranges base cache
2010-06-29 16:06:20 +00:00
Igor Sysoev
865db9bbf3
ngx_create_file_mapping()
2010-06-29 15:18:50 +00:00
Igor Sysoev
325bd4ea98
change duplicate default geo range processing
2010-06-29 13:36:16 +00:00
Igor Sysoev
a81a383053
fix building without IPv6 after the previous commit
2010-06-25 13:17:33 +00:00
Igor Sysoev
80dd7e5015
Now $uid_set may be used at any time, r2013 states the same is wrong.
...
Besides, now $uid_set is not cacheable and may have two values:
before and after header filter processing.
This allows to log case, when uid cookie is remarked.
2010-06-25 12:16:31 +00:00
Igor Sysoev
55c3f1b31b
make logic more clear
2010-06-25 12:06:37 +00:00
Igor Sysoev
23d053fa97
delete stale comments
2010-06-25 12:05:12 +00:00
Igor Sysoev
70485d6b7c
eliminate a number of ranges: about 18,000 /16 networks are empty,
...
this change saves about 70K/140K on 32/64-bit platforms
2010-06-24 15:26:05 +00:00
Igor Sysoev
daab61e40c
fix a bug when ngx_cpymem() returns a cast type:
...
p = (type *) ngx_cpymem(...)
2010-06-24 15:17:06 +00:00
Igor Sysoev
e3693e3b37
break cycle early
2010-06-24 13:16:19 +00:00
Igor Sysoev
aa6936e61a
style fix
2010-06-23 16:34:54 +00:00
Igor Sysoev
0923d08148
change ngx_http_variable_value_node_t to more generic ngx_str_node_t
2010-06-23 15:31:33 +00:00
Igor Sysoev
2c72df5ed4
bump version
2010-06-23 14:49:57 +00:00
Igor Sysoev
ee5f9e50b9
ngx_http_scgi_module
2010-06-18 15:51:14 +00:00
Igor Sysoev
4115de9fe3
Test regex location if URI matches exactly to non-exact location.
...
Revert a feature introduced in r2028. The feature confuses mostly,
the only gain was not to test regex for a frequent request such as
"/" in "locaiton /".
2010-06-18 15:38:31 +00:00
Igor Sysoev
082d9965a3
use ngx_http_send_response() in empty_gif
2010-06-18 15:17:07 +00:00
Igor Sysoev
b2ee47c0c7
add files missed in the previuos commit
2010-06-18 15:16:18 +00:00
Igor Sysoev
4c1b0770ca
return code text
2010-06-18 15:15:20 +00:00
Igor Sysoev
01213e18a7
ngx_http_send_response()
2010-06-18 15:08:44 +00:00
Igor Sysoev
ebd883092b
303 See Other
2010-06-18 14:58:52 +00:00
Igor Sysoev
0f6ae5906d
style fix
2010-06-15 15:30:00 +00:00
Igor Sysoev
2515f8efe9
fix r3628
2010-06-15 15:27:06 +00:00
Igor Sysoev
1cc1b311af
make code more obviuos
2010-06-15 15:21:37 +00:00
Igor Sysoev
54b35b009a
use ngx_http_parse_status_line()
2010-06-15 15:15:06 +00:00
Igor Sysoev
0aae446c7c
ngx_http_parse_status_line()
2010-06-15 15:13:34 +00:00
Igor Sysoev
bef315509b
update the previous commit
2010-06-15 15:09:18 +00:00
Igor Sysoev
85fe9bf6b1
support CGI-style response
2010-06-15 14:30:13 +00:00
Igor Sysoev
68294d776d
style fix
2010-06-15 12:45:33 +00:00
Igor Sysoev
dede73dda9
bump version
2010-06-15 12:41:13 +00:00
Igor Sysoev
da7b5e15de
allow spaces in URI
2010-06-15 09:31:19 +00:00
Igor Sysoev
d50e53e675
do not free() stack allocated buffer
2010-06-14 18:09:52 +00:00
Igor Sysoev
ea16b14cc5
PATCH method
2010-06-10 11:08:28 +00:00
Igor Sysoev
34cd1cc656
allow Destination URL without host
2010-06-10 08:17:16 +00:00
Igor Sysoev
f0bf9956dc
delete empty Server and Date header used only in proxy mode
2010-06-08 19:33:53 +00:00
Igor Sysoev
a17adae005
change variable names
2010-06-08 16:15:47 +00:00
Igor Sysoev
741caead25
delete surplus flush
2010-06-08 13:43:20 +00:00
Igor Sysoev
cd04da475d
do not try to calculate procent sum if there was an error
2010-06-08 09:06:57 +00:00
Igor Sysoev
27b54fda94
delete useless code
2010-06-07 14:37:56 +00:00
Igor Sysoev
82e1933529
fix rewritten Refresh header length
2010-06-07 14:33:50 +00:00
Igor Sysoev
1f5cf36a27
202 Accepted status code
2010-06-07 13:38:39 +00:00
Igor Sysoev
7935d4bff7
bump version
2010-06-07 13:34:56 +00:00
Igor Sysoev
4cf7f2727d
fix "/dir/%3F../" and "/dir/%23../" cases
2010-06-04 16:05:55 +00:00
Igor Sysoev
04e1156d2e
test default NTFS stream "::$DATA"
2010-06-04 15:37:49 +00:00
Igor Sysoev
1f07392c42
*) delete no longer used unix domain sockets
...
*) fix unix domain socket comparison
2010-06-04 13:34:23 +00:00
Igor Sysoev
bf8f69cf74
uwsgi cache
2010-06-04 12:55:01 +00:00
Igor Sysoev
45cb0a086e
uwsgi_bind
2010-06-04 12:32:08 +00:00
Igor Sysoev
b9579381b5
allow uwsgi_param to override client headers using HTTP_ parameters
2010-06-04 12:26:27 +00:00
Igor Sysoev
36e11cecb1
uwsgi_store
2010-06-04 11:31:01 +00:00
Igor Sysoev
6b373a96b1
add uwsgi_param and client request headers debug logging
2010-06-04 10:03:57 +00:00
Igor Sysoev
e5d453228e
do not pass if-... headers for cacheable fastcgi responses
2010-06-04 09:17:09 +00:00
Igor Sysoev
ca9259c0a5
rename variable to conform to the next commit
2010-06-03 16:42:07 +00:00
Igor Sysoev
17483d5bfb
use local headers_names array instead of stored in configuration
...
and allocate its elements from temporary pool
2010-06-03 14:50:59 +00:00
Igor Sysoev
a4c6e7889c
allow fastcgi_param to override client headers using HTTP_ parameters
2010-06-03 14:41:30 +00:00
Igor Sysoev
62a0aa3512
add client request headers debug logging in fastcgi
2010-06-03 13:49:59 +00:00
Igor Sysoev
1cefa519d2
remove the special static fastcgi_param values processing,
...
because it is anyway very seldom case
2010-06-02 15:08:29 +00:00
Igor Sysoev
7a3edc0171
style fix
2010-06-01 20:27:03 +00:00
Igor Sysoev
66ba32c879
improve uwsgi_string processing
2010-06-01 20:24:30 +00:00
Igor Sysoev
b36e5a7952
delete unneeded declaration
2010-06-01 20:23:14 +00:00
Igor Sysoev
4ddb52551c
delete unused ngx_http_uwsgi_add_variables()
2010-06-01 20:21:56 +00:00
Igor Sysoev
c1f3d6edb7
improve uwsgi_modifierX processing:
...
*) use ngx_conf_set_num_slot()
*) check bounds
*) check duplicates
2010-06-01 20:19:57 +00:00
Igor Sysoev
d0aa4ca258
remove LICENSE text
2010-06-01 19:57:52 +00:00
Igor Sysoev
26b621dd67
style fix
2010-06-01 17:46:01 +00:00
Igor Sysoev
e45b892e7b
./configure --http-uwsgi-temp-path=PATH
2010-06-01 17:44:51 +00:00
Igor Sysoev
dc4b53fe61
fix the previous commit when value is static string: remove the special
...
static values processing, because it is anyway very seldom case
2010-06-01 17:30:23 +00:00
Igor Sysoev
1089957488
remove useless copy: key name should be just copied before value length
2010-06-01 17:25:36 +00:00
Igor Sysoev
4c9c518bbf
simplify binary little endian length processing
2010-06-01 17:04:56 +00:00
Igor Sysoev
94be6be50a
use ngx_str_set() and ngx_str_null()
2010-06-01 16:12:00 +00:00
Igor Sysoev
a754521af5
fix copyrights
2010-06-01 16:10:05 +00:00
Igor Sysoev
670cdbba61
fix style, some names, and building by MSVC8
2010-06-01 16:00:42 +00:00
Igor Sysoev
6d7beea1ce
style fix: remove tabs and trailing spaces
2010-06-01 15:55:04 +00:00
Igor Sysoev
3a881d30b5
import original ngx_http_uwsgi_module version
2010-06-01 15:53:11 +00:00
Igor Sysoev
1a310e39de
bump version
2010-06-01 15:20:14 +00:00
Igor Sysoev
23f904ea06
fix IPv6 and Unix domain sockets inheritance while online upgrade
2010-05-31 14:49:11 +00:00
Igor Sysoev
11f4ad3ec2
fix building by ICC8, the bug had been introduced in r3476
2010-05-31 14:44:17 +00:00
Igor Sysoev
a5eefbc174
fix handling an inherited alias in inclusive location
2010-05-31 14:41:54 +00:00
Igor Sysoev
34ab21c53a
fix a try_files/alias case when alias uses captures and
...
try_files .html "" / =404;
2010-05-27 13:44:22 +00:00
Igor Sysoev
ef0fae4279
do not add tested file to a location regex string,
...
instead, set URI to the tested file, or keep URI unchanged,
if the tested file is a directory,
the later allows to handle a directory autoredirect
2010-05-27 13:24:19 +00:00
Igor Sysoev
098d58ec83
fix the previous commit
2010-05-27 13:15:24 +00:00
Igor Sysoev
6e884ba19a
improve debug logging: "try to use file/dir"
2010-05-27 13:09:09 +00:00
Igor Sysoev
9434ae59e8
bump version
2010-05-27 12:55:05 +00:00
Igor Sysoev
de0b1d6f12
remove r->zero_in_uri
2010-05-24 12:35:10 +00:00
Igor Sysoev
9b2763a245
proxy_no_cache and fastcgi_no_cache
2010-05-24 11:01:05 +00:00
Igor Sysoev
fbb262533f
fix delay in limit_req
2010-05-24 07:43:39 +00:00
Igor Sysoev
1a26a18f64
autodetect redirect if URI is rewritten to a string starting with $scheme
2010-05-23 19:36:12 +00:00
Igor Sysoev
f5f4126574
delete warnings of proxy_upstream_max_fails, proxy_upstream_fail_timeout,
...
fastcgi_upstream_max_fails, fastcgi_upstream_fail_timeout,
memcached_upstream_max_fails, and memcached_upstream_fail_timeout
directives obsolete since 0.5.0 version
2010-05-20 11:46:01 +00:00
Igor Sysoev
ec94491f0c
allow to use $uid_got in SSI and perl module
2010-05-18 16:24:56 +00:00
Igor Sysoev
58e1f27d2b
bump version
2010-05-18 16:20:02 +00:00
Igor Sysoev
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
d2b687cf3f
ngx_atofp()
2010-05-14 09:01:30 +00:00
Igor Sysoev
6884183ad9
allow hash key values more than 255 bytes, it does not actually increase mean
...
hash element size, because due to aligning a byte after key is not used
anyway in 3/4 cases on 32-bit platforms and in 7/8 cases on 64-bit platforms
2010-05-13 12:52:45 +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
50af406144
fix rounding issues in %f format
2010-05-12 13:13:11 +00:00
Igor Sysoev
503b9716c5
use double in %f format to allow %.15f precision
2010-05-12 13:12:31 +00:00
Igor Sysoev
ab4c0d3628
Zimbra IMAP server may return only 4 bytes: "+ \r\n"
2010-04-23 09:53:52 +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
bfc8b78f57
use non-blocking open() not to hang on FIFO files, etc.
2010-04-21 15:59:36 +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
502252d43a
MSVC8 compatibility with OpenSSL 1.0.0
2010-04-01 15:18:29 +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
170a54f326
escape ampersand in argument while rewrite
2010-04-01 12:45:59 +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
d08b65ca61
do not set file time in ngx_copy_file() if the time is -1,
...
this fixes an issue when file is moved across devices
2010-03-30 14:15:25 +00:00
Igor Sysoev
86f791e090
fix comments
2010-03-26 21:17:26 +00:00
Igor Sysoev
f59ae65fa4
use "rep; nop" instead of "pause" on Solaris/amd64
2010-03-26 13:38:41 +00:00
Igor Sysoev
b45498c3de
fix a comment and a style fix
2010-03-26 11:27:32 +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
b80f68aeda
do not update time in the timer signal handler,
...
since localtime_r() is not Async-Signal-Safe function
2010-03-12 14:31:47 +00:00
Igor Sysoev
9eaabc69ca
use sys_errlist[] in signal handler instead
...
of non Async-Signal-Safe strerror_r()
2010-03-12 11:15:26 +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
e71f39932f
add OpenSSL_add_all_algorithms(), this fixes the error
...
"ASN1_item_verify:unknown message digest algorithm" occurred if
client certificate is signed using sha256WithRSAEncryption
2010-03-03 16:23:14 +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
f953436886
compare long file names in case-insensitive mode,
...
the bug had been introduced in r3418
2010-03-03 10:05:54 +00:00
Igor Sysoev
416fc7aac7
Set SSL session context for "ssl_session_cache none".
...
This fixes a bug when client certficate is used and nginx closes connection
with the message: "SSL_GET_PREV_SESSION:session id context uninitialized".
2010-03-02 08:41:47 +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
146324618d
decrease SSL handshake error level to info
2010-02-19 20:54:58 +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
070f0a865b
delete surplus code
2010-02-12 09:48:04 +00:00
Igor Sysoev
b87fba807e
const char *fmt in ngx_conf_log_error()
2010-02-12 09:45:05 +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
10fa102e32
disable Win32 short file names
2010-01-28 14:17:51 +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
d8be48a546
fix ngx_utf8_cpystrn(): it did not fully copy utf-8 string
2010-01-11 13:39:24 +00:00
Igor Sysoev
e4bc4a2940
named captures worked for two names only
2010-01-11 11:21:46 +00:00
Igor Sysoev
089b2fd31e
add context to a resolver log
2010-01-11 11:01:02 +00:00
Igor Sysoev
280e5e7072
use "localhost" in "Host" header line, if unix socket is used in "auth_http"
2009-12-25 15:43:40 +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
fb0c73b08d
fix building by gcc 4.x with -O2/3/s in some Linux distributions:
...
dereferencing type-punned pointer will break strict-aliasing rules
2009-12-22 15:29:56 +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
a75362dcdb
fix Win32 error message when an temporary file replaces an existent file:
...
return at once if ngx_win32_rename_file() was not failed
and do not try to delete already the renamed temporary file
2009-12-17 10:05:39 +00:00
Igor Sysoev
9c8fa5efe5
bump version
2009-12-16 14:59:33 +00:00
Igor Sysoev
44be39475c
fix Win32 error messages when an temporary file replaces an existent file:
...
*) do not rename an already renamed file
*) now ngx_win32_rename_file() returns error code
*) do not log failure inside ngx_win32_rename_file()
2009-12-15 13:47:02 +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
8f7c8f3c07
fix libatomic usage on arm, cris, hppa, m68k, and sparc platforms
2009-12-07 15:32:38 +00:00
Igor Sysoev
eacd5d89b7
fix double free(), introduced in r3268
2009-12-07 15:13:46 +00:00
Igor Sysoev
6cfcef3cbf
remove stale comment
2009-12-02 13:03:54 +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
a734e33720
chmod unix listen domain socket to 0666
2009-11-30 11:26:24 +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
d5624689cb
update comments
2009-11-25 18:03:59 +00:00
Igor Sysoev
bdfa3baaee
fix comment
2009-11-25 17:56:53 +00:00
Igor Sysoev
213cad8e81
libatomic_ops support
2009-11-25 17:55:25 +00:00
Igor Sysoev
89d635fa5d
GCC 4.1 builtin atomic operations
2009-11-25 17:34:35 +00:00
Igor Sysoev
f215028477
bump version
2009-11-25 17:04:00 +00:00
Igor Sysoev
72db760eca
add NGX_PROCESS_HELPER process status
2009-11-23 15:46:21 +00:00
Igor Sysoev
8019121120
decrease SSL handshake error level to info
2009-11-23 14:09:57 +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
2952af08f1
a cache manager thread handle was overwritten by a cache loader thread handle,
...
this caused an exit delay, the bug had been introduced in r3023
2009-11-17 16:46:27 +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
69061b73ef
fix pcre allocation on Win32, the bug had been introduced in r3326
2009-11-17 10:24:45 +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
93da565962
fix building without --with-debug, introduced in r3328
2009-11-16 16:00:52 +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
a4a0541308
align to minimum of a page and a pool sizes
2009-11-16 12:50:10 +00:00
Igor Sysoev
104ff87c39
ngx_min()
2009-11-16 12:48:41 +00:00
Igor Sysoev
ece77cd5be
large allocation should not be aligned to a page size
2009-11-16 12:47:44 +00:00
Igor Sysoev
3e1a05c467
add alignment in debug log
2009-11-16 12:46:05 +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
700a779824
fix posix_fadvise() error handling
2009-11-15 09:16:58 +00:00
Igor Sysoev
b13029c57c
update allocation error messages
2009-11-15 09:03:08 +00:00
Igor Sysoev
fc514f1d07
fix posix_memalign() error handling
2009-11-15 08:56:40 +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
653edd491b
use ngx_resolver_alloc() instead of ngx_resolver_calloc()
...
since all fields are filled
2009-11-11 14:29:20 +00:00
Igor Sysoev
e79f429b4b
fix resolving an empty name (".")
2009-11-11 14:27:24 +00:00
Igor Sysoev
61da56d041
fix "set_real_ip_from unix:" inheritance
2009-11-11 13:41:16 +00:00
Igor Sysoev
9eadbde324
fix building without --with-debug, introduced in r3294
2009-11-11 12:32:06 +00:00
Igor Sysoev
a993d55b0f
bump version
2009-11-11 12:30:36 +00:00
Igor Sysoev
70bd187c4c
disable SSL renegotiation (CVE-2009-3555)
2009-11-11 10:59:07 +00:00
Igor Sysoev
a59ba33060
*) fix resolving an empty name ("."),
...
*) add quotes in an error message,
*) backout r3299 in ngx_mail_smtp_handler.c
2009-11-09 19:15:11 +00:00
Igor Sysoev
70966c154f
fix "PTR ." case in address resolver
2009-11-09 18:04:05 +00:00
Igor Sysoev
64bfa87e73
fix segfault in resolver:
...
ngx_resolve_name_done() and ngx_resolve_addr_done() did not delete
contexts from a resolver node waiting list.
2009-11-09 17:45:56 +00:00
Igor Sysoev
21accae8e5
cf->conf_file->file.name.data may be uninitialized, if an allocation failed;
...
found by Clang Static Analyzer
2009-11-05 17:10:48 +00:00
Igor Sysoev
8b620a8a97
delete useless statement
2009-11-05 17:09:02 +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
9b67ca0e41
Fix a bug introduced in r2032: After a child process has read a terminate
...
message from a channel, the process tries to read the channel again.
The kernel (at least FreeBSD) may preempt the process and sends a SIGIO
signal to a master process. The master process sends a new terminate message,
the kernel switches again to the the child process, and the child process
reads the messages instead of an EAGAIN error. And this may repeat over
and over. Being that the child process can not exit the cycle and test
the termination flag set by the message handler.
The fix disallow the master process to send a new terminate message on
SIGIO signal reception. It may send the message only on SIGALARM signal.
2009-11-04 19:41:08 +00:00
Igor Sysoev
bcc44e2549
allow to inherit unix domain sockets while online upgrade
2009-11-04 18:36:43 +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
1bc750da2f
use setproctitle("%s", title)
2009-11-03 16:28:21 +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
cc65b0879b
fix segfault in SSL if limit_rate is used
2009-11-03 15:38:33 +00:00
Igor Sysoev
956bdfc000
fix segfault if $limit_rate was logged
2009-11-03 15:05:38 +00:00
Igor Sysoev
f4b598b81b
fix "if (!-x ...)"
2009-11-03 14:57:27 +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
4ac5ca8ae0
ngx_ptocidr() supports IPv6
2009-11-03 13:42:25 +00:00
Igor Sysoev
fd078fd6d5
make ngx_inet6_ntop() non-static
2009-11-03 12:44:55 +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
1d52beba73
ngx_parse_addr()
2009-11-02 15:20:42 +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
47c88464eb
use ngx_inet6_addr()
2009-11-02 12:58:30 +00:00
Igor Sysoev
5a76cbbbc6
ngx_inet6_addr()
2009-11-02 12:50:00 +00:00
Igor Sysoev
19811dbdde
style fix
2009-11-02 12:41:56 +00:00
Igor Sysoev
61490aa6b6
delete unused field c->local_socklen
2009-11-01 19:29:49 +00:00
Igor Sysoev
9f179fe546
do not unlink unix domain socket file while online upgrade
2009-10-30 19:18:21 +00:00
Igor Sysoev
633c178a17
unlink unix domain socket file after testing
2009-10-30 19:16:50 +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
8ffea50797
fix r3211
2009-10-26 12:00:37 +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
42b72993c5
use lowcase only hostname
2009-10-21 17:04:13 +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
a1e36777f4
add SNI support in -V output
2009-10-19 12:35:01 +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
3f438068eb
ignore EACCES errors for top level directories in ngx_create_full_path()
2009-10-14 11:46:09 +00:00
Igor Sysoev
d0188e09af
do not create Win32 drive letter in ngx_create_full_path()
2009-10-14 11:36:16 +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
e7138540d6
nginx did not close log file set by --error-log-path,
...
the bug was introduced in r2744
2009-10-09 14:43:09 +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
687b0e99ea
Linux/SPARC malloc() returns an address aligned to 8. This conflicts with
...
our SPARC 16-byte alignment and some allocations may be done out of pool.
ngx_memalign(ngx_pagesize) fixes this issue.
2009-09-30 12:56:44 +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
29e7d8cc73
use parents around NGX_ATOMIC_T_LEN value
2009-09-25 20:25:47 +00:00
Igor Sysoev
48a28e2dad
uniform ngx_directio_on/off() interface with other file functions
2009-09-25 14:17:28 +00:00
Igor Sysoev
38a7faadfe
handle short pwrite() to log an error cause: ENOSPC, EDQUOT, or EFBIG
2009-09-25 13:55:46 +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
c81582ea67
fix r3155
2009-09-24 20:09:12 +00:00
Igor Sysoev
5631879c7a
test incomplete WriteFile()
2009-09-24 20:05:21 +00:00
Igor Sysoev
f4d97e2472
log file name for read/write errors
2009-09-24 20:04:10 +00:00
Igor Sysoev
4bcc725f83
delete Win95 code
2009-09-24 19:55:35 +00:00
Igor Sysoev
ef2662caab
fix debug log message
2009-09-24 14:47:10 +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
e5b2d3c6b2
low default connection errors level from alert to error
2009-09-23 15:28:33 +00:00
Igor Sysoev
3749443661
bump version
2009-09-23 15:27:17 +00:00
Igor Sysoev
81fed299ce
fail if file size was changed
2009-09-22 09:44:57 +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
a8d3d2204f
fix resolver cache rbtree comparison
2009-09-19 16:15:13 +00:00
Igor Sysoev
15c149e499
restore environ, this fixes segfault on reconfiguration failure when
...
perl module creates new environment
2009-09-18 09:21:14 +00:00
Igor Sysoev
2d95c3f210
fix comment
2009-09-18 09:12:40 +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
99651523de
fix memory leak in resolver
2009-09-16 13:48:11 +00:00
Igor Sysoev
866e958c5d
win32 ngx_file_info() utf8 support
2009-09-16 13:30:13 +00:00
Igor Sysoev
7e4e5e165f
preserve errno while ngx_free()
2009-09-16 13:28:20 +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
570608ff4a
style fix
2009-09-13 06:25:54 +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
f0e12845a5
log offset passed to sendfile()
2009-09-04 09:53:09 +00:00
Igor Sysoev
2052077b93
small optimization
2009-09-04 09:50:58 +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
8c491a77bc
refactor EAGAIN/EINTR processing
2009-08-30 09:42:29 +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
6ef7e772a9
fix build by msvc, introduced in r3054
2009-08-28 11:46:12 +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
450659e62a
twice termination delay only after SIGALRM, otherwise many separate SIGCHLD
...
and SIGIO signals quickly increase delay to the level when SIGKILL is sent
2009-08-26 15:12:28 +00:00
Igor Sysoev
31f6c5c55d
style fix
2009-08-26 15:09:09 +00:00
Igor Sysoev
9262c6138e
fix typo
2009-08-26 15:03:53 +00:00
Igor Sysoev
764c5eca29
ignore SIGSYS
2009-08-26 05:19:57 +00:00
Igor Sysoev
b71610eb09
*) move small declarations in appropriate places and delete the surplus
...
header files
*) delete insignificant comments
2009-08-25 09:09:13 +00:00
Igor Sysoev
8e7e69e351
style fix
2009-08-25 09:06:21 +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
f4f7d5e5f4
the flags should be bit-wide only
2009-08-23 12:58:41 +00:00
Igor Sysoev
3a58935936
*) share temporary number between workers
...
*) randomize collision offset
2009-08-21 09:06:35 +00:00
Igor Sysoev
f95847d0ba
test EXDEV after path creation
2009-08-20 15:53:57 +00:00
Igor Sysoev
0ddc1978ee
fix copy failure logging and stale files removal, introduced in r3025
2009-08-20 13:41:32 +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
aa4bba5298
fix building on 64-bit platforms, introduced in r3025
2009-08-13 13:48:41 +00:00
Igor Sysoev
c287a9811e
fix debug point for left open sockets
2009-08-13 08:40:25 +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
c9538c069f
NGX_ENOPATH
2009-08-11 14:25:04 +00:00
Igor Sysoev
98ab9ce988
win32 cache loader support
2009-08-11 08:14:43 +00:00
Igor Sysoev
e9d8858da5
style fix
2009-08-11 07:55:39 +00:00
Igor Sysoev
703aab0b72
unlock incompletely loaded cache
2009-08-10 15:57:42 +00:00
Igor Sysoev
632a1922fa
delete mistaken sleep in the previous commit
2009-08-10 14:45:52 +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
07b280a29f
introduce NGX_PROCESS_JUST_SPAWN and change field name accordingly
2009-08-10 13:07:15 +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
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