]> git.kaiwu.me - nginx.git/log
nginx.git
15 years agofix r3708 and r3695: valid_sec is set only for caching error status codes
Igor Sysoev [Tue, 27 Jul 2010 19:11:17 +0000 (19:11 +0000)]
fix r3708 and r3695: valid_sec is set only for caching error status codes

15 years agofix r3707: cache node should be freed be a response is not cached
Igor Sysoev [Tue, 27 Jul 2010 15:26:33 +0000 (15:26 +0000)]
fix r3707: cache node should be freed be a response is not cached

15 years agofix typo
Igor Sysoev [Tue, 27 Jul 2010 13:04:13 +0000 (13:04 +0000)]
fix typo

15 years agofix r3695: this commit
Igor Sysoev [Tue, 27 Jul 2010 11:22:59 +0000 (11:22 +0000)]
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

15 years agoan intercepted error code was not cached
Igor Sysoev [Mon, 19 Jul 2010 15:31:46 +0000 (15:31 +0000)]
an intercepted error code was not cached

15 years agostyle fix
Igor Sysoev [Mon, 19 Jul 2010 15:29:16 +0000 (15:29 +0000)]
style fix

15 years agoinitialize r->cache->file.fd with NGX_INVALID_FILE
Igor Sysoev [Mon, 19 Jul 2010 15:28:22 +0000 (15:28 +0000)]
initialize r->cache->file.fd with NGX_INVALID_FILE

15 years agobump version
Igor Sysoev [Mon, 19 Jul 2010 15:27:06 +0000 (15:27 +0000)]
bump version

15 years agorelease-0.8.46 tag
Igor Sysoev [Mon, 19 Jul 2010 11:31:31 +0000 (11:31 +0000)]
release-0.8.46 tag

15 years agonginx-0.8.46-RELEASE release-0.8.46
Igor Sysoev [Mon, 19 Jul 2010 11:31:30 +0000 (11:31 +0000)]
nginx-0.8.46-RELEASE

15 years agoadd warnings for proxy_no_cache and fastcgi_no_cache
Igor Sysoev [Mon, 19 Jul 2010 09:55:43 +0000 (09:55 +0000)]
add warnings for proxy_no_cache and fastcgi_no_cache

15 years agoproxy_cache_pass, fastcgi_cache_bypass, uwsgi_cache_bypass, scgi_cache_bypass
Igor Sysoev [Mon, 19 Jul 2010 09:36:04 +0000 (09:36 +0000)]
proxy_cache_pass, fastcgi_cache_bypass, uwsgi_cache_bypass, scgi_cache_bypass

15 years agorename ngx_http_file_cache_create() to ngx_http_file_cache_new()
Igor Sysoev [Fri, 16 Jul 2010 10:01:49 +0000 (10:01 +0000)]
rename ngx_http_file_cache_create() to ngx_http_file_cache_new()

15 years agongx_http_file_cache_create()
Igor Sysoev [Thu, 15 Jul 2010 14:01:02 +0000 (14:01 +0000)]
ngx_http_file_cache_create()

15 years agongx_http_file_cache_name()
Igor Sysoev [Thu, 15 Jul 2010 13:46:32 +0000 (13:46 +0000)]
ngx_http_file_cache_name()

15 years agostyle fix
Igor Sysoev [Thu, 15 Jul 2010 13:10:05 +0000 (13:10 +0000)]
style fix

15 years agodelete empty cache zone node if we could not get response to cache
Igor Sysoev [Thu, 15 Jul 2010 13:08:51 +0000 (13:08 +0000)]
delete empty cache zone node if we could not get response to cache

15 years agofix scgi_no_cache and uwsgi_no_cache initialization
Igor Sysoev [Wed, 14 Jul 2010 11:29:19 +0000 (11:29 +0000)]
fix scgi_no_cache and uwsgi_no_cache initialization

15 years agouse ngx_http_test_predicates(), ngx_http_set_predicate_slot()
Igor Sysoev [Wed, 14 Jul 2010 11:15:45 +0000 (11:15 +0000)]
use ngx_http_test_predicates(), ngx_http_set_predicate_slot()
delete ngx_http_cache(), ngx_http_no_cache_set_slot()

15 years agongx_http_test_predicates(), ngx_http_set_predicate_slot()
Igor Sysoev [Wed, 14 Jul 2010 11:13:59 +0000 (11:13 +0000)]
ngx_http_test_predicates(), ngx_http_set_predicate_slot()

15 years agobump version
Igor Sysoev [Wed, 14 Jul 2010 11:09:56 +0000 (11:09 +0000)]
bump version

15 years agorelease-0.8.45 tag
Igor Sysoev [Tue, 13 Jul 2010 11:59:37 +0000 (11:59 +0000)]
release-0.8.45 tag

15 years agonginx-0.8.45-RELEASE release-0.8.45
Igor Sysoev [Tue, 13 Jul 2010 11:59:36 +0000 (11:59 +0000)]
nginx-0.8.45-RELEASE

15 years agoallow setfib=0
Igor Sysoev [Tue, 13 Jul 2010 10:17:09 +0000 (10:17 +0000)]
allow setfib=0

15 years agouse xmlSAXHandler._private field to store xslt filter context
Igor Sysoev [Mon, 12 Jul 2010 12:52:01 +0000 (12:52 +0000)]
use xmlSAXHandler._private field to store xslt filter context

15 years agofix building by msvc7
Igor Sysoev [Thu, 8 Jul 2010 16:17:11 +0000 (16:17 +0000)]
fix building by msvc7

15 years agostop ./configure on Win32 if no library sources was specified,
Igor Sysoev [Thu, 8 Jul 2010 15:57:36 +0000 (15:57 +0000)]
stop ./configure on Win32 if no library sources was specified,
the bug has been introduced in r2894

15 years agodo not use prebuild OpenSSL Win32 libraries
Igor Sysoev [Thu, 8 Jul 2010 15:51:47 +0000 (15:51 +0000)]
do not use prebuild OpenSSL Win32 libraries

15 years agofix typo
Igor Sysoev [Thu, 8 Jul 2010 14:02:09 +0000 (14:02 +0000)]
fix typo

15 years agostyle fix
Igor Sysoev [Thu, 8 Jul 2010 13:49:21 +0000 (13:49 +0000)]
style fix

15 years agoupdate r->buffered after processing SSI command,
Igor Sysoev [Wed, 7 Jul 2010 10:17:19 +0000 (10:17 +0000)]
update r->buffered after processing SSI command,
the bug has been probably introduced in r2378

15 years agobump version
Igor Sysoev [Wed, 7 Jul 2010 10:09:44 +0000 (10:09 +0000)]
bump version

15 years agorelease-0.8.44 tag
Igor Sysoev [Mon, 5 Jul 2010 15:23:56 +0000 (15:23 +0000)]
release-0.8.44 tag

15 years agonginx-0.8.44-RELEASE release-0.8.44
Igor Sysoev [Mon, 5 Jul 2010 15:23:55 +0000 (15:23 +0000)]
nginx-0.8.44-RELEASE

15 years agolisten setfib=X
Igor Sysoev [Mon, 5 Jul 2010 13:49:16 +0000 (13:49 +0000)]
listen setfib=X

15 years agofix case of partially matched patterns on buffer border in sub_filter
Igor Sysoev [Mon, 5 Jul 2010 13:45:10 +0000 (13:45 +0000)]
fix case of partially matched patterns on buffer border in sub_filter

15 years agofix recognition of SSLv2 Client Hello Packet large than 255 bytes
Igor Sysoev [Mon, 5 Jul 2010 13:35:20 +0000 (13:35 +0000)]
fix recognition of SSLv2 Client Hello Packet large than 255 bytes

15 years agotry to use C99 variadic macros first:
Igor Sysoev [Mon, 5 Jul 2010 13:02:25 +0000 (13:02 +0000)]
try to use C99 variadic macros first:
AIX 5.3's XL C has problems with GCC style variadic macros

15 years agofix building by owc12: GetLongPathName() is available since Win2K only
Igor Sysoev [Mon, 5 Jul 2010 12:47:35 +0000 (12:47 +0000)]
fix building by owc12: GetLongPathName() is available since Win2K only

15 years agoHP/UX uses EWOULDBLOCK instead of EAGAIN
Igor Sysoev [Sat, 3 Jul 2010 20:16:55 +0000 (20:16 +0000)]
HP/UX uses EWOULDBLOCK instead of EAGAIN

15 years agodo not use a cache headers set to hide
Igor Sysoev [Fri, 2 Jul 2010 10:05:40 +0000 (10:05 +0000)]
do not use a cache headers set to hide

15 years agotreat Set-Cookie as a header that forbids caching
Igor Sysoev [Fri, 2 Jul 2010 09:49:27 +0000 (09:49 +0000)]
treat Set-Cookie as a header that forbids caching

15 years agoupdate the previous commit
Igor Sysoev [Fri, 2 Jul 2010 09:28:50 +0000 (09:28 +0000)]
update the previous commit

15 years agouse shared ngx_http_upstream_ignore_headers_masks[]
Igor Sysoev [Fri, 2 Jul 2010 09:25:38 +0000 (09:25 +0000)]
use shared ngx_http_upstream_ignore_headers_masks[]

15 years agobump version
Igor Sysoev [Thu, 1 Jul 2010 12:56:32 +0000 (12:56 +0000)]
bump version

15 years agorelease-0.8.43 tag
Igor Sysoev [Wed, 30 Jun 2010 15:11:44 +0000 (15:11 +0000)]
release-0.8.43 tag

15 years agonginx-0.8.43-RELEASE release-0.8.43
Igor Sysoev [Wed, 30 Jun 2010 15:11:43 +0000 (15:11 +0000)]
nginx-0.8.43-RELEASE

15 years agoremove r->zero_body unused since the previous commit
Igor Sysoev [Wed, 30 Jun 2010 14:42:15 +0000 (14:42 +0000)]
remove r->zero_body unused since the previous commit

15 years agoFix processing
Igor Sysoev [Wed, 30 Jun 2010 14:39:28 +0000 (14:39 +0000)]
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; }

15 years agochange logic introduced in r3649:
Igor Sysoev [Wed, 30 Jun 2010 14:30:55 +0000 (14:30 +0000)]
change logic introduced in r3649:
*) now $uid_set is cacheable again
*) allow to see at any processing stage that uid cookie is remarked

15 years agostyle fix: remove tabs
Igor Sysoev [Wed, 30 Jun 2010 14:28:54 +0000 (14:28 +0000)]
style fix: remove tabs

15 years agoset uid values for main request only
Igor Sysoev [Wed, 30 Jun 2010 13:15:20 +0000 (13:15 +0000)]
set uid values for main request only

15 years agofix IPv6 listen socket handling while reconfiguring
Igor Sysoev [Wed, 30 Jun 2010 12:01:56 +0000 (12:01 +0000)]
fix IPv6 listen socket handling while reconfiguring

15 years agofix ngx_write_file() buf
Igor Sysoev [Wed, 30 Jun 2010 10:33:02 +0000 (10:33 +0000)]
fix ngx_write_file() buf

15 years agotest binary geo range base size
Igor Sysoev [Wed, 30 Jun 2010 10:13:51 +0000 (10:13 +0000)]
test binary geo range base size

15 years agotest the second binary geo range base existence
Igor Sysoev [Wed, 30 Jun 2010 10:12:46 +0000 (10:12 +0000)]
test the second binary geo range base existence

15 years agotest binary geo ranges base only for ranges
Igor Sysoev [Wed, 30 Jun 2010 10:05:56 +0000 (10:05 +0000)]
test binary geo ranges base only for ranges

15 years agotest binary gep range base mtime
Igor Sysoev [Wed, 30 Jun 2010 10:02:05 +0000 (10:02 +0000)]
test binary gep range base mtime

15 years agobinary geo ranges base cache
Igor Sysoev [Tue, 29 Jun 2010 16:06:20 +0000 (16:06 +0000)]
binary geo ranges base cache

15 years agongx_create_file_mapping()
Igor Sysoev [Tue, 29 Jun 2010 15:18:50 +0000 (15:18 +0000)]
ngx_create_file_mapping()

15 years agochange duplicate default geo range processing
Igor Sysoev [Tue, 29 Jun 2010 13:36:16 +0000 (13:36 +0000)]
change duplicate default geo range processing

15 years agofix building without IPv6 after the previous commit
Igor Sysoev [Fri, 25 Jun 2010 13:17:33 +0000 (13:17 +0000)]
fix building without IPv6 after the previous commit

15 years agoNow $uid_set may be used at any time, r2013 states the same is wrong.
Igor Sysoev [Fri, 25 Jun 2010 12:16:31 +0000 (12:16 +0000)]
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.

15 years agomake logic more clear
Igor Sysoev [Fri, 25 Jun 2010 12:06:37 +0000 (12:06 +0000)]
make logic more clear

15 years agodelete stale comments
Igor Sysoev [Fri, 25 Jun 2010 12:05:12 +0000 (12:05 +0000)]
delete stale comments

15 years agoeliminate a number of ranges: about 18,000 /16 networks are empty,
Igor Sysoev [Thu, 24 Jun 2010 15:26:05 +0000 (15:26 +0000)]
eliminate a number of ranges: about 18,000 /16 networks are empty,
this change saves about 70K/140K on 32/64-bit platforms

15 years agofix a bug when ngx_cpymem() returns a cast type:
Igor Sysoev [Thu, 24 Jun 2010 15:17:06 +0000 (15:17 +0000)]
fix a bug when ngx_cpymem() returns a cast type:
    p = (type *) ngx_cpymem(...)

15 years agobreak cycle early
Igor Sysoev [Thu, 24 Jun 2010 13:16:19 +0000 (13:16 +0000)]
break cycle early

15 years agostyle fix
Igor Sysoev [Wed, 23 Jun 2010 16:34:54 +0000 (16:34 +0000)]
style fix

15 years agochange ngx_http_variable_value_node_t to more generic ngx_str_node_t
Igor Sysoev [Wed, 23 Jun 2010 15:31:33 +0000 (15:31 +0000)]
change ngx_http_variable_value_node_t to more generic ngx_str_node_t

15 years agobump version
Igor Sysoev [Wed, 23 Jun 2010 14:49:57 +0000 (14:49 +0000)]
bump version

15 years agorelease-0.8.42 tag
Igor Sysoev [Mon, 21 Jun 2010 10:16:25 +0000 (10:16 +0000)]
release-0.8.42 tag

15 years agonginx-0.8.42-RELEASE release-0.8.42
Igor Sysoev [Mon, 21 Jun 2010 10:16:24 +0000 (10:16 +0000)]
nginx-0.8.42-RELEASE

15 years agongx_http_scgi_module
Igor Sysoev [Fri, 18 Jun 2010 15:51:14 +0000 (15:51 +0000)]
ngx_http_scgi_module

15 years agoTest regex location if URI matches exactly to non-exact location.
Igor Sysoev [Fri, 18 Jun 2010 15:38:31 +0000 (15:38 +0000)]
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 /".

15 years agouse ngx_http_send_response() in empty_gif
Igor Sysoev [Fri, 18 Jun 2010 15:17:07 +0000 (15:17 +0000)]
use ngx_http_send_response() in empty_gif

15 years agoadd files missed in the previuos commit
Igor Sysoev [Fri, 18 Jun 2010 15:16:18 +0000 (15:16 +0000)]
add files missed in the previuos commit

15 years agoreturn code text
Igor Sysoev [Fri, 18 Jun 2010 15:15:20 +0000 (15:15 +0000)]
return code text

15 years agongx_http_send_response()
Igor Sysoev [Fri, 18 Jun 2010 15:08:44 +0000 (15:08 +0000)]
ngx_http_send_response()

15 years ago303 See Other
Igor Sysoev [Fri, 18 Jun 2010 14:58:52 +0000 (14:58 +0000)]
303 See Other

15 years agostyle fix
Igor Sysoev [Tue, 15 Jun 2010 15:30:00 +0000 (15:30 +0000)]
style fix

15 years agofix r3628
Igor Sysoev [Tue, 15 Jun 2010 15:27:06 +0000 (15:27 +0000)]
fix r3628

15 years agomake code more obviuos
Igor Sysoev [Tue, 15 Jun 2010 15:21:37 +0000 (15:21 +0000)]
make code more obviuos

15 years agouse ngx_http_parse_status_line()
Igor Sysoev [Tue, 15 Jun 2010 15:15:06 +0000 (15:15 +0000)]
use ngx_http_parse_status_line()

15 years agongx_http_parse_status_line()
Igor Sysoev [Tue, 15 Jun 2010 15:13:34 +0000 (15:13 +0000)]
ngx_http_parse_status_line()

15 years agoupdate the previous commit
Igor Sysoev [Tue, 15 Jun 2010 15:09:18 +0000 (15:09 +0000)]
update the previous commit

15 years agosupport CGI-style response
Igor Sysoev [Tue, 15 Jun 2010 14:30:13 +0000 (14:30 +0000)]
support CGI-style response

15 years agostyle fix
Igor Sysoev [Tue, 15 Jun 2010 12:45:33 +0000 (12:45 +0000)]
style fix

15 years agobump version
Igor Sysoev [Tue, 15 Jun 2010 12:41:13 +0000 (12:41 +0000)]
bump version

15 years agorelease-0.8.41 tag
Igor Sysoev [Tue, 15 Jun 2010 09:45:07 +0000 (09:45 +0000)]
release-0.8.41 tag

15 years agonginx-0.8.41-RELEASE release-0.8.41
Igor Sysoev [Tue, 15 Jun 2010 09:45:06 +0000 (09:45 +0000)]
nginx-0.8.41-RELEASE

15 years agoallow spaces in URI
Igor Sysoev [Tue, 15 Jun 2010 09:31:19 +0000 (09:31 +0000)]
allow spaces in URI

15 years agodo not free() stack allocated buffer
Igor Sysoev [Mon, 14 Jun 2010 18:09:52 +0000 (18:09 +0000)]
do not free() stack allocated buffer

15 years agoPATCH method
Igor Sysoev [Thu, 10 Jun 2010 11:08:28 +0000 (11:08 +0000)]
PATCH method

15 years agoallow Destination URL without host
Igor Sysoev [Thu, 10 Jun 2010 08:17:16 +0000 (08:17 +0000)]
allow Destination URL without host

15 years agodelete empty Server and Date header used only in proxy mode
Igor Sysoev [Tue, 8 Jun 2010 19:33:53 +0000 (19:33 +0000)]
delete empty Server and Date header used only in proxy mode

15 years agochange variable names
Igor Sysoev [Tue, 8 Jun 2010 16:15:47 +0000 (16:15 +0000)]
change variable names

15 years agoinstall uwsgi_params
Igor Sysoev [Tue, 8 Jun 2010 15:25:48 +0000 (15:25 +0000)]
install uwsgi_params

15 years agodelete surplus flush
Igor Sysoev [Tue, 8 Jun 2010 13:43:20 +0000 (13:43 +0000)]
delete surplus flush

15 years agodo not try to calculate procent sum if there was an error
Igor Sysoev [Tue, 8 Jun 2010 09:06:57 +0000 (09:06 +0000)]
do not try to calculate procent sum if there was an error