comparison src/http/ngx_http_core_module.c @ 715:cbd18f013385

disable "error_page 499 ..."
author Igor Sysoev <igor@sysoev.ru>
date Mon, 25 Sep 2006 17:48:34 +0000
parents 7e24168b0853
children d8d7c39e3a76
comparison
equal deleted inserted replaced
714:698033350558 715:cbd18f013385
2882 return NGX_CONF_ERROR; 2882 return NGX_CONF_ERROR;
2883 } 2883 }
2884 2884
2885 err->status = ngx_atoi(value[i].data, value[i].len); 2885 err->status = ngx_atoi(value[i].data, value[i].len);
2886 2886
2887 if (err->status == NGX_ERROR) { 2887 if (err->status == NGX_ERROR || err->status == 499) {
2888 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 2888 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
2889 "invalid value \"%V\"", &value[i]); 2889 "invalid value \"%V\"", &value[i]);
2890 return NGX_CONF_ERROR; 2890 return NGX_CONF_ERROR;
2891 } 2891 }
2892 2892