# HG changeset patch # User Igor Sysoev # Date 1159206514 0 # Node ID cbd18f0133851344f47eebc6281d24efd6033347 # Parent 6980333505583c537e71dc83f050881886ce9d8d disable "error_page 499 ..." diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2884,7 +2884,7 @@ ngx_http_core_error_page(ngx_conf_t *cf, err->status = ngx_atoi(value[i].data, value[i].len); - if (err->status == NGX_ERROR) { + if (err->status == NGX_ERROR || err->status == 499) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid value \"%V\"", &value[i]); return NGX_CONF_ERROR;