diff src/http/ngx_http.h @ 3772:c1e3cb4c669c

ngx_http_degraded()
author Igor Sysoev <igor@sysoev.ru>
date Mon, 04 Oct 2010 14:59:41 +0000
parents e4cabc48b862
children e5df04b05e75 4919fb357a5d
line wrap: on
line diff
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -142,6 +142,10 @@ char *ngx_http_merge_types(ngx_conf_t *c
 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;