Mercurial > hg > nginx
diff src/http/modules/ngx_http_proxy_module.c @ 2268:33556140681a
*) ngx_http_upstream_test_next()
*) add proxy_next_upstream http_502 and http_504
*) fix http_503
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 30 Sep 2008 15:39:02 +0000 |
parents | 8c17cfe63d2c |
children | c3035feb6638 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c Tue Sep 30 14:57:09 2008 +0000 +++ b/src/http/modules/ngx_http_proxy_module.c Tue Sep 30 15:39:02 2008 +0000 @@ -147,7 +147,9 @@ { ngx_string("timeout"), NGX_HTTP_UPSTREAM_FT_TIMEOUT }, { ngx_string("invalid_header"), NGX_HTTP_UPSTREAM_FT_INVALID_HEADER }, { ngx_string("http_500"), NGX_HTTP_UPSTREAM_FT_HTTP_500 }, + { ngx_string("http_502"), NGX_HTTP_UPSTREAM_FT_HTTP_502 }, { ngx_string("http_503"), NGX_HTTP_UPSTREAM_FT_HTTP_503 }, + { ngx_string("http_504"), NGX_HTTP_UPSTREAM_FT_HTTP_504 }, { ngx_string("http_404"), NGX_HTTP_UPSTREAM_FT_HTTP_404 }, { ngx_string("off"), NGX_HTTP_UPSTREAM_FT_OFF }, { ngx_null_string, 0 }