Commit 65d7d205 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

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
parent 246c3277
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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) {