]> git.kaiwu.me - nginx.git/commit
Upstream: limited next_upstream time and tries (ticket #544).
authorRoman Arutyunyan <arut@nginx.com>
Fri, 12 Sep 2014 14:50:47 +0000 (18:50 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Fri, 12 Sep 2014 14:50:47 +0000 (18:50 +0400)
commit02ce6c415f07ea8d7fa6b59a17ee2f02e77ab66b
tree9d7fbdf388e15bfe1f2c4577e0d786156c5db77a
parentcfc3db1972f1eb96accaf4c04095912e176aecd3
Upstream: limited next_upstream time and tries (ticket #544).

The new directives {proxy,fastcgi,scgi,uwsgi,memcached}_next_upstream_tries
and {proxy,fastcgi,scgi,uwsgi,memcached}_next_upstream_timeout limit
the number of upstreams tried and the maximum time spent for these tries
when searching for a valid upstream.
src/event/ngx_event_connect.h
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_memcached_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h