summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-10-04 14:59:41 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-10-04 14:59:41 +0000
commit81aa52829ae021dc226b4d25330c63c2ff31149a (patch)
tree9e38155cd8e237d2f9815562fd5146fe0a776917 /src/http/ngx_http.h
parent61d5e5e67fa3f95526d0dc666137ebfebe6709dc (diff)
downloadnginx-81aa52829ae021dc226b4d25330c63c2ff31149a.tar.gz
nginx-81aa52829ae021dc226b4d25330c63c2ff31149a.tar.bz2
ngx_http_degraded()
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r--src/http/ngx_http.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index 9351cb09a..e3619e148 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -142,6 +142,10 @@ char *ngx_http_merge_types(ngx_conf_t *cf, ngx_array_t **keys,
ngx_int_t ngx_http_set_default_types(ngx_conf_t *cf, ngx_array_t **types,
ngx_str_t *default_type);
+#if (NGX_HTTP_DEGRADATION)
+ngx_uint_t ngx_http_degraded(ngx_http_request_t *);
+#endif
+
extern ngx_module_t ngx_http_module;