changeset 715:cbd18f013385

disable "error_page 499 ..."
author Igor Sysoev <igor@sysoev.ru>
date Mon, 25 Sep 2006 17:48:34 +0000
parents 698033350558
children d8d7c39e3a76
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;