diff src/http/ngx_http_core_module.c @ 599:53f5f04a64b8 NGINX_0_8_45

nginx 0.8.45 *) Feature: ngx_http_xslt_filter improvements. Thanks to Laurence Rowe. *) Bugfix: SSI response might be truncated after include with wait="yes"; the bug had appeared in 0.7.25. Thanks to Maxim Dounin. *) Bugfix: the "listen" directive did not support the "setfib=0" parameter.
author Igor Sysoev <http://sysoev.ru>
date Tue, 13 Jul 2010 00:00:00 +0400
parents 016632f0fb18
children cde3626b2d0d
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -3440,7 +3440,7 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx
         if (ngx_strncmp(value[n].data, "setfib=", 7) == 0) {
             lsopt.setfib = ngx_atoi(value[n].data + 7, value[n].len - 7);
 
-            if (lsopt.setfib == NGX_ERROR || lsopt.setfib == 0) {
+            if (lsopt.setfib == NGX_ERROR) {
                 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
                                    "invalid setfib \"%V\"", &value[n]);
                 return NGX_CONF_ERROR;