]> git.kaiwu.me - nginx.git/log
nginx.git
15 years agothe -q switch
Igor Sysoev [Thu, 2 Sep 2010 13:43:02 +0000 (13:43 +0000)]
the -q switch

15 years agoif a location is specified by regex, then always compile an "alias",
Igor Sysoev [Thu, 26 Aug 2010 12:33:08 +0000 (12:33 +0000)]
if a location is specified by regex, then always compile an "alias",
even into one static string script: this elimates testing this
too specific case inside ngx_http_map_uri_to_path()

15 years agobump version
Igor Sysoev [Wed, 25 Aug 2010 12:30:08 +0000 (12:30 +0000)]
bump version

15 years agorelease-0.8.49 tag
Igor Sysoev [Mon, 9 Aug 2010 08:24:14 +0000 (08:24 +0000)]
release-0.8.49 tag

15 years agonginx-0.8.49-RELEASE release-0.8.49
Igor Sysoev [Mon, 9 Aug 2010 08:24:13 +0000 (08:24 +0000)]
nginx-0.8.49-RELEASE

15 years agoimage_filter_jpeg_quality supports variables
Igor Sysoev [Fri, 6 Aug 2010 15:55:05 +0000 (15:55 +0000)]
image_filter_jpeg_quality supports variables

15 years agozero fcn->updating after node allocation
Igor Sysoev [Wed, 4 Aug 2010 13:34:23 +0000 (13:34 +0000)]
zero fcn->updating after node allocation

15 years agoerror status codes could be cached for next request only,
Igor Sysoev [Wed, 4 Aug 2010 12:55:27 +0000 (12:55 +0000)]
error status codes could be cached for next request only,
the bug has been introduced in r3712

15 years agowe can free GeoIPRecord just after GeoIP_region_name_by_code(),
Igor Sysoev [Tue, 3 Aug 2010 18:38:08 +0000 (18:38 +0000)]
we can free GeoIPRecord just after GeoIP_region_name_by_code(),
because it returns a statically allocated string

15 years agofix segfault, the bug has been introduced in r3738
Igor Sysoev [Tue, 3 Aug 2010 18:27:56 +0000 (18:27 +0000)]
fix segfault, the bug has been introduced in r3738

15 years agobump version
Igor Sysoev [Tue, 3 Aug 2010 18:24:18 +0000 (18:24 +0000)]
bump version

15 years agorelease-0.8.48 tag
Igor Sysoev [Tue, 3 Aug 2010 15:10:57 +0000 (15:10 +0000)]
release-0.8.48 tag

15 years agonginx-0.8.48-RELEASE release-0.8.48
Igor Sysoev [Tue, 3 Aug 2010 15:10:56 +0000 (15:10 +0000)]
nginx-0.8.48-RELEASE

15 years ago$geoip_region_name
Igor Sysoev [Tue, 3 Aug 2010 15:01:34 +0000 (15:01 +0000)]
$geoip_region_name

15 years ago$geoip_dma_code and $geoip_area_code
Igor Sysoev [Tue, 3 Aug 2010 14:19:49 +0000 (14:19 +0000)]
$geoip_dma_code and $geoip_area_code

15 years agofix fastcgi_split_path_info, if URI was not fully captured
Igor Sysoev [Tue, 3 Aug 2010 13:35:48 +0000 (13:35 +0000)]
fix fastcgi_split_path_info, if URI was not fully captured

15 years ago*) make code consistent to fastcgi, etc
Igor Sysoev [Tue, 3 Aug 2010 12:59:14 +0000 (12:59 +0000)]
*) make code consistent to fastcgi, etc
*) remove STUB comment

15 years agouse NULL instead of 0
Igor Sysoev [Tue, 3 Aug 2010 12:53:06 +0000 (12:53 +0000)]
use NULL instead of 0

15 years agodelete surplus assignment
Igor Sysoev [Tue, 3 Aug 2010 09:42:53 +0000 (09:42 +0000)]
delete surplus assignment

15 years agoinherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass inside
Igor Sysoev [Tue, 3 Aug 2010 09:24:25 +0000 (09:24 +0000)]
inherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass inside
a limit_except block if no handler was defined for the block

15 years agongx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()
Igor Sysoev [Mon, 2 Aug 2010 15:28:04 +0000 (15:28 +0000)]
ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()
may be used at merge phase

15 years agofix directive type
Igor Sysoev [Mon, 2 Aug 2010 12:47:52 +0000 (12:47 +0000)]
fix directive type

15 years agochange logic slightly
Igor Sysoev [Mon, 2 Aug 2010 12:34:15 +0000 (12:34 +0000)]
change logic slightly

15 years agochange order
Igor Sysoev [Mon, 2 Aug 2010 12:32:33 +0000 (12:32 +0000)]
change order

15 years ago*) delete cache key node after a cache file removal
Igor Sysoev [Mon, 2 Aug 2010 12:27:58 +0000 (12:27 +0000)]
*) delete cache key node after a cache file removal
*) move fileless cache key node removal in ngx_http_file_cache_delete()

15 years agoescape ";" in arguments
Igor Sysoev [Fri, 30 Jul 2010 13:25:19 +0000 (13:25 +0000)]
escape ";" in arguments

15 years agocount cache key node usage for cached error statuses
Igor Sysoev [Fri, 30 Jul 2010 12:41:55 +0000 (12:41 +0000)]
count cache key node usage for cached error statuses

15 years agodo not free unused cache node if cache min_uses > 1,
Igor Sysoev [Fri, 30 Jul 2010 10:20:08 +0000 (10:20 +0000)]
do not free unused cache node if cache min_uses > 1,
the bug has been introduced in r3695, r3708, r3711

15 years agoreturn 415 on too big image in image filter
Igor Sysoev [Thu, 29 Jul 2010 15:40:03 +0000 (15:40 +0000)]
return 415 on too big image in image filter

15 years agochange default server_name_in_redirect value to off,
Igor Sysoev [Thu, 29 Jul 2010 10:01:31 +0000 (10:01 +0000)]
change default server_name_in_redirect value to off,
since default server_name is empty

15 years agouse an empty name as default server_name instread of hostname
Igor Sysoev [Thu, 29 Jul 2010 10:00:04 +0000 (10:00 +0000)]
use an empty name as default server_name instread of hostname

15 years agoallow server_name "" as the first name
Igor Sysoev [Thu, 29 Jul 2010 09:55:54 +0000 (09:55 +0000)]
allow server_name "" as the first name

15 years agodecrease SSL handshake error level to info
Igor Sysoev [Thu, 29 Jul 2010 09:30:15 +0000 (09:30 +0000)]
decrease SSL handshake error level to info

15 years agocopy OpenSSL-0.9.8o LICENSE for nginx/Windows zip
Igor Sysoev [Thu, 29 Jul 2010 09:10:12 +0000 (09:10 +0000)]
copy OpenSSL-0.9.8o LICENSE for nginx/Windows zip

15 years agobump version
Igor Sysoev [Thu, 29 Jul 2010 08:10:22 +0000 (08:10 +0000)]
bump version

15 years agorelease-0.8.47 tag
Igor Sysoev [Wed, 28 Jul 2010 16:16:49 +0000 (16:16 +0000)]
release-0.8.47 tag

15 years agonginx-0.8.47-RELEASE release-0.8.47
Igor Sysoev [Wed, 28 Jul 2010 16:16:48 +0000 (16:16 +0000)]
nginx-0.8.47-RELEASE

15 years agomove debug logging inside ngx_http_file_cache_free()
Igor Sysoev [Wed, 28 Jul 2010 15:56:56 +0000 (15:56 +0000)]
move debug logging inside ngx_http_file_cache_free()

15 years agofix $request_time for subrequests
Igor Sysoev [Wed, 28 Jul 2010 15:51:50 +0000 (15:51 +0000)]
fix $request_time for subrequests

15 years agoseveral changes in cache cleanup handling:
Igor Sysoev [Wed, 28 Jul 2010 15:49:34 +0000 (15:49 +0000)]
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

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()