aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-05-20 11:46:01 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-05-20 11:46:01 +0000
commitf5f41265749e76e3e69c87f869628272a21b4d5a (patch)
treee41697a88392dc6cab1fd494e1ab3ee9bf5dd4b1 /src/http/modules/ngx_http_proxy_module.c
parentec94491f0cf8dd09dfa6b4b546ee72c4d7affc05 (diff)
downloadnginx-f5f41265749e76e3e69c87f869628272a21b4d5a.tar.gz
nginx-f5f41265749e76e3e69c87f869628272a21b4d5a.zip
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
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index 1db26576b..29fd2a46c 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -142,11 +142,6 @@ static char *ngx_http_proxy_cache_key(ngx_conf_t *cf, ngx_command_t *cmd,
static char *ngx_http_proxy_lowat_check(ngx_conf_t *cf, void *post, void *data);
-static char *ngx_http_proxy_upstream_max_fails_unsupported(ngx_conf_t *cf,
- ngx_command_t *cmd, void *conf);
-static char *ngx_http_proxy_upstream_fail_timeout_unsupported(ngx_conf_t *cf,
- ngx_command_t *cmd, void *conf);
-
#if (NGX_HTTP_SSL)
static ngx_int_t ngx_http_proxy_set_ssl(ngx_conf_t *cf,
ngx_http_proxy_loc_conf_t *plcf);
@@ -422,20 +417,6 @@ static ngx_command_t ngx_http_proxy_commands[] = {
offsetof(ngx_http_proxy_loc_conf_t, upstream.next_upstream),
&ngx_http_proxy_next_upstream_masks },
- { ngx_string("proxy_upstream_max_fails"),
- NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
- ngx_http_proxy_upstream_max_fails_unsupported,
- 0,
- 0,
- NULL },
-
- { ngx_string("proxy_upstream_fail_timeout"),
- NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
- ngx_http_proxy_upstream_fail_timeout_unsupported,
- 0,
- 0,
- NULL },
-
{ ngx_string("proxy_pass_header"),
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
ngx_conf_set_str_array_slot,
@@ -2959,32 +2940,6 @@ ngx_http_proxy_lowat_check(ngx_conf_t *cf, void *post, void *data)
}
-static char *
-ngx_http_proxy_upstream_max_fails_unsupported(ngx_conf_t *cf,
- ngx_command_t *cmd, void *conf)
-{
- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "\"proxy_upstream_max_fails\" is not supported, "
- "use the \"max_fails\" parameter of the \"server\" directive ",
- "inside the \"upstream\" block");
-
- return NGX_CONF_ERROR;
-}
-
-
-static char *
-ngx_http_proxy_upstream_fail_timeout_unsupported(ngx_conf_t *cf,
- ngx_command_t *cmd, void *conf)
-{
- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "\"proxy_upstream_fail_timeout\" is not supported, "
- "use the \"fail_timeout\" parameter of the \"server\" directive ",
- "inside the \"upstream\" block");
-
- return NGX_CONF_ERROR;
-}
-
-
#if (NGX_HTTP_SSL)
static ngx_int_t