]> git.kaiwu.me - nginx.git/commitdiff
disable "error_page 499 ..."
authorIgor Sysoev <igor@sysoev.ru>
Mon, 25 Sep 2006 17:48:34 +0000 (17:48 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 25 Sep 2006 17:48:34 +0000 (17:48 +0000)
src/http/ngx_http_core_module.c

index e7f54dd1251cca8bdef037af8afc56c5e2b35887..8788deee58ddad18a89bc5365e318628d1f478d4 100644 (file)
@@ -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;