aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-09-25 17:48:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-09-25 17:48:34 +0000
commit586f7a5f5d2bad0202841f18f47f0cae4d229d35 (patch)
tree8b2993ba6876ae358bb880af9f96daf2e7c9f50d /src
parent183f71ee9db430e6a4c58e06b4cb5818317961b5 (diff)
downloadnginx-586f7a5f5d2bad0202841f18f47f0cae4d229d35.tar.gz
nginx-586f7a5f5d2bad0202841f18f47f0cae4d229d35.zip
disable "error_page 499 ..."
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index e7f54dd12..8788deee5 100644
--- 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, ngx_command_t *cmd, void *conf)
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;