]> git.kaiwu.me - nginx.git/log
nginx.git
15 years agochange order of limit_req lookup result processing
Igor Sysoev [Thu, 14 Oct 2010 09:20:01 +0000 (09:20 +0000)]
change order of limit_req lookup result processing

15 years agoan excess was logged as 0.000 if requests were limited without delay:
Igor Sysoev [Wed, 13 Oct 2010 20:58:41 +0000 (20:58 +0000)]
an excess was logged as 0.000 if requests were limited without delay:

*) use a real excess value instead of non-updated limit_req rbtree node field,
*) move inactivity queue handling inside ngx_http_limit_req_lookup()
   since the node is not required outside the lookup function;

the bug has been introduced in r3184

15 years agoalways update an aio_senfile connection flag accodring to a current
Igor Sysoev [Tue, 12 Oct 2010 12:18:39 +0000 (12:18 +0000)]
always update an aio_senfile connection flag accodring to a current
location configuration, this clears the flag for requests passed
via a keep-alive connection

15 years agoupdate event flags after successful io_submit()
Igor Sysoev [Tue, 12 Oct 2010 12:11:11 +0000 (12:11 +0000)]
update event flags after successful io_submit()

15 years agofile AIO read may be posted inside loop
Igor Sysoev [Tue, 12 Oct 2010 12:06:52 +0000 (12:06 +0000)]
file AIO read may be posted inside loop

15 years agoadd default listen port at the end of server block parsing instead of
Igor Sysoev [Mon, 11 Oct 2010 18:48:18 +0000 (18:48 +0000)]
add default listen port at the end of server block parsing instead of
merge phase: otherwise the first server without an listen directive
did not become the default server if there was no explicit default server;
the bug has been introduced in r3218

15 years agofix testing, the bug has been introduced in r3218
Igor Sysoev [Fri, 8 Oct 2010 11:42:05 +0000 (11:42 +0000)]
fix testing, the bug has been introduced in r3218

15 years agogzip_disable degradation
Igor Sysoev [Mon, 4 Oct 2010 15:03:00 +0000 (15:03 +0000)]
gzip_disable degradation

15 years agongx_http_degraded()
Igor Sysoev [Mon, 4 Oct 2010 14:59:41 +0000 (14:59 +0000)]
ngx_http_degraded()

15 years agobump version
Igor Sysoev [Mon, 4 Oct 2010 13:50:09 +0000 (13:50 +0000)]
bump version

15 years agorelease-0.8.52 tag
Igor Sysoev [Tue, 28 Sep 2010 06:59:59 +0000 (06:59 +0000)]
release-0.8.52 tag

15 years agonginx-0.8.52-RELEASE release-0.8.52
Igor Sysoev [Tue, 28 Sep 2010 06:59:58 +0000 (06:59 +0000)]
nginx-0.8.52-RELEASE

15 years agonginx uses SSL mode for a listen socket with any option set,
Igor Sysoev [Tue, 28 Sep 2010 06:50:52 +0000 (06:50 +0000)]
nginx uses SSL mode for a listen socket with any option set,
the bug has been introduced in r3765

15 years agobump version
Igor Sysoev [Tue, 28 Sep 2010 06:46:58 +0000 (06:46 +0000)]
bump version

15 years agorelease-0.8.51 tag
Igor Sysoev [Mon, 27 Sep 2010 13:08:41 +0000 (13:08 +0000)]
release-0.8.51 tag

15 years agonginx-0.8.51-RELEASE release-0.8.51
Igor Sysoev [Mon, 27 Sep 2010 13:08:40 +0000 (13:08 +0000)]
nginx-0.8.51-RELEASE

15 years agoallow duplicate listen ssl options
Igor Sysoev [Mon, 27 Sep 2010 11:48:12 +0000 (11:48 +0000)]
allow duplicate listen ssl options

15 years agodecrease resolver errors level to error
Igor Sysoev [Mon, 27 Sep 2010 11:23:45 +0000 (11:23 +0000)]
decrease resolver errors level to error

15 years agoworker_rlimit_core should be off_t
Igor Sysoev [Wed, 15 Sep 2010 15:24:21 +0000 (15:24 +0000)]
worker_rlimit_core should be off_t

15 years agofix typo
Igor Sysoev [Mon, 13 Sep 2010 12:44:43 +0000 (12:44 +0000)]
fix typo

15 years agodiscard "secure_link_expires on|off"
Igor Sysoev [Mon, 6 Sep 2010 14:19:18 +0000 (14:19 +0000)]
discard "secure_link_expires on|off"

15 years agobump version
Igor Sysoev [Mon, 6 Sep 2010 11:07:07 +0000 (11:07 +0000)]
bump version

15 years agorelease-0.8.50 tag
Igor Sysoev [Thu, 2 Sep 2010 14:59:19 +0000 (14:59 +0000)]
release-0.8.50 tag

15 years agonginx-0.8.50-RELEASE release-0.8.50
Igor Sysoev [Thu, 2 Sep 2010 14:59:18 +0000 (14:59 +0000)]
nginx-0.8.50-RELEASE

15 years agonew ngx_http_secure_link_module with secure_link, secure_link_md5, and
Igor Sysoev [Thu, 2 Sep 2010 14:37:16 +0000 (14:37 +0000)]
new ngx_http_secure_link_module with secure_link, secure_link_md5, and
secure_link_expires

15 years agofix race condition if during reconfiguration two cache managers try
Igor Sysoev [Thu, 2 Sep 2010 14:31:47 +0000 (14:31 +0000)]
fix race condition if during reconfiguration two cache managers try
to delete old inactive entries: one of them removes a entry just locked by
other manager from the queue and the rbtree as long inactive entry,
causes the latter manager to segfault leaving cache mutex locked,
the bug has been introduced in r3727

15 years agogzip_disable msie6 ignored other patterns
Igor Sysoev [Thu, 2 Sep 2010 14:02:57 +0000 (14:02 +0000)]
gzip_disable msie6 ignored other patterns

15 years agogzip_disable compiled always the first pattern only
Igor Sysoev [Thu, 2 Sep 2010 14:01:58 +0000 (14:01 +0000)]
gzip_disable compiled always the first pattern only

15 years agogzip_disable msie6 did not inherited if nginx was built without PCRE
Igor Sysoev [Thu, 2 Sep 2010 13:54:28 +0000 (13:54 +0000)]
gzip_disable msie6 did not inherited if nginx was built without PCRE

15 years agoadd "Global\" prefix for signal events
Igor Sysoev [Thu, 2 Sep 2010 13:49:05 +0000 (13:49 +0000)]
add "Global\" prefix for signal events

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