Klaus Demo nginx / 0267730
fix building by icc8 Igor Sysoev 11 years ago
1 changed file(s) with 0 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
8585 };
8686
8787
88 static ngx_uint_t ngx_degraded;
89
90
9188 static ngx_int_t
9289 ngx_http_degradation_handler(ngx_http_request_t *r)
9390 {
138135 /* unlock mutex */
139136
140137 if (sbrk_size >= dmcf->sbrk_size) {
141 ngx_degraded = 1;
142
143138 if (log) {
144139 ngx_log_error(NGX_LOG_NOTICE, r->connection->log, 0,
145140 "degradation sbrk:%uzM",
149144 return 1;
150145 }
151146 }
152
153 ngx_degraded = 0;
154147
155148 return 0;
156149 }