From: Stefan Fritsch Date: Tue, 31 Jan 2012 21:53:17 +0000 (+0000) Subject: Revert r1202255 to restore same behavior as in 2.4: X-Git-Tag: 2.5.0-alpha~7524 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6702d1e8fcadfa1dd6ed853da6bcf9cadd6fd034;p=apache Revert r1202255 to restore same behavior as in 2.4: disable mod_reqtimeout if not configured There is some agreement that 2.4's behavior is fine. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1238826 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_reqtimeout.c b/modules/filters/mod_reqtimeout.c index b8f6f085c3..3250efcade 100644 --- a/modules/filters/mod_reqtimeout.c +++ b/modules/filters/mod_reqtimeout.c @@ -343,11 +343,6 @@ static int reqtimeout_init(conn_rec *c) return DECLINED; } - if (cfg->header_timeout == UNSET && cfg->body_timeout == UNSET) { - /* if everything is unset, skip by default. */ - return DECLINED; - } - ccfg = apr_pcalloc(c->pool, sizeof(reqtimeout_con_cfg)); ccfg->type = "header"; if (cfg->header_timeout != UNSET) {