Mercurial > hg > nginx
comparison src/http/modules/ngx_http_degradation_module.c @ 3389:de27a5d044ff
test degradation parameters
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 17 Dec 2009 12:45:13 +0000 |
parents | e6967a1dc8e9 |
children | c1e3cb4c669c |
comparison
equal
deleted
inserted
replaced
3388:d788521e4b0e | 3389:de27a5d044ff |
---|---|
196 if (dmcf->sbrk_size == (size_t) NGX_ERROR) { | 196 if (dmcf->sbrk_size == (size_t) NGX_ERROR) { |
197 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 197 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
198 "invalid sbrk size \"%V\"", &value[1]); | 198 "invalid sbrk size \"%V\"", &value[1]); |
199 return NGX_CONF_ERROR; | 199 return NGX_CONF_ERROR; |
200 } | 200 } |
201 } | 201 |
202 | 202 return NGX_CONF_OK; |
203 return NGX_CONF_OK; | 203 } |
204 | |
205 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | |
206 "invalid parameter \"%V\"", &value[1]); | |
207 | |
208 return NGX_CONF_ERROR; | |
204 } | 209 } |
205 | 210 |
206 | 211 |
207 static ngx_int_t | 212 static ngx_int_t |
208 ngx_http_degradation_init(ngx_conf_t *cf) | 213 ngx_http_degradation_init(ngx_conf_t *cf) |