]> git.kaiwu.me - nginx.git/commitdiff
Fixed "keepalive_disable".
authorRuslan Ermilov <ru@nginx.com>
Mon, 21 Nov 2011 07:31:59 +0000 (07:31 +0000)
committerRuslan Ermilov <ru@nginx.com>
Mon, 21 Nov 2011 07:31:59 +0000 (07:31 +0000)
Patch by Alexander Usov.  The bug has been introduced in r4267.

src/http/ngx_http_core_module.c

index ba5191069045189bee3f9d7494958e6d043e3491..96be4236927549fd5fe725554c71a4859160a6e4 100644 (file)
@@ -3267,12 +3267,12 @@ ngx_http_core_create_loc_conf(ngx_conf_t *cf)
      *     clcf->auto_redirect = 0;
      *     clcf->alias = 0;
      *     clcf->gzip_proxied = 0;
+     *     clcf->keepalive_disable = 0;
      */
 
     clcf->client_max_body_size = NGX_CONF_UNSET;
     clcf->client_body_buffer_size = NGX_CONF_UNSET_SIZE;
     clcf->client_body_timeout = NGX_CONF_UNSET_MSEC;
-    clcf->keepalive_disable = NGX_CONF_UNSET_UINT;
     clcf->satisfy = NGX_CONF_UNSET_UINT;
     clcf->if_modified_since = NGX_CONF_UNSET_UINT;
     clcf->max_ranges = NGX_CONF_UNSET_UINT;