Changeset 66a597
- Timestamp:
- 01/14/08 12:32:34 (4 years ago)
- Branches:
- master-v0.7, master-v0.6, next_upstream, upstream_count_limit
- Children:
- f54237
- Parents:
- 1abb3d
- git-author:
- Tomash Brechko <tomash.brechko@…> (01/14/08 12:32:34)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (01/14/08 12:32:34)
- Location:
- server/src/http
- Files:
-
- 4 edited
-
modules/ngx_http_fastcgi_module.c (modified) (1 diff)
-
modules/ngx_http_proxy_module.c (modified) (1 diff)
-
ngx_http_upstream.c (modified) (2 diffs)
-
ngx_http_upstream.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
server/src/http/modules/ngx_http_fastcgi_module.c
r1abb3d r66a597 183 183 { ngx_string("http_503"), NGX_HTTP_UPSTREAM_FT_HTTP_503 }, 184 184 { ngx_string("http_504"), NGX_HTTP_UPSTREAM_FT_HTTP_504 }, 185 { ngx_string("http_507"), NGX_HTTP_UPSTREAM_FT_HTTP_507 }, 185 186 { ngx_string("http_404"), NGX_HTTP_UPSTREAM_FT_HTTP_404 }, 186 187 { ngx_string("off"), NGX_HTTP_UPSTREAM_FT_OFF }, -
server/src/http/modules/ngx_http_proxy_module.c
r1abb3d r66a597 137 137 { ngx_string("http_503"), NGX_HTTP_UPSTREAM_FT_HTTP_503 }, 138 138 { ngx_string("http_504"), NGX_HTTP_UPSTREAM_FT_HTTP_504 }, 139 { ngx_string("http_507"), NGX_HTTP_UPSTREAM_FT_HTTP_507 }, 139 140 { ngx_string("http_404"), NGX_HTTP_UPSTREAM_FT_HTTP_404 }, 140 141 { ngx_string("off"), NGX_HTTP_UPSTREAM_FT_OFF }, -
server/src/http/ngx_http_upstream.c
r1abb3d r66a597 1124 1124 } 1125 1125 1126 if (u->headers_in.status_n == NGX_HTTP_INSUFFICIENT_STORAGE) { 1127 1128 if (u->peer.tries > 1 1129 && u->conf->next_upstream & NGX_HTTP_UPSTREAM_FT_HTTP_507) 1130 { 1131 ngx_http_upstream_next(r, u, NGX_HTTP_UPSTREAM_FT_HTTP_507); 1132 return; 1133 } 1134 } 1135 1126 1136 if (u->headers_in.status_n >= NGX_HTTP_BAD_REQUEST 1127 1137 && u->conf->intercept_errors) … … 2223 2233 break; 2224 2234 2235 case NGX_HTTP_UPSTREAM_FT_HTTP_507: 2236 status = NGX_HTTP_INSUFFICIENT_STORAGE; 2237 break; 2238 2225 2239 /* 2226 2240 * NGX_HTTP_UPSTREAM_FT_BUSY_LOCK and NGX_HTTP_UPSTREAM_FT_MAX_WAITING -
server/src/http/ngx_http_upstream.h
r1abb3d r66a597 27 27 #define NGX_HTTP_UPSTREAM_FT_HTTP_502 0x00000200 28 28 #define NGX_HTTP_UPSTREAM_FT_HTTP_504 0x00000400 29 #define NGX_HTTP_UPSTREAM_FT_HTTP_507 0x00000800 29 30 #define NGX_HTTP_UPSTREAM_FT_OFF 0x80000000 30 31
Note: See TracChangeset
for help on using the changeset viewer.
