You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2012/01/31 22:53:18 UTC

svn commit: r1238826 - /httpd/httpd/trunk/modules/filters/mod_reqtimeout.c

Author: sf
Date: Tue Jan 31 21:53:17 2012
New Revision: 1238826

URL: http://svn.apache.org/viewvc?rev=1238826&view=rev
Log:
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.

Modified:
    httpd/httpd/trunk/modules/filters/mod_reqtimeout.c

Modified: httpd/httpd/trunk/modules/filters/mod_reqtimeout.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_reqtimeout.c?rev=1238826&r1=1238825&r2=1238826&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_reqtimeout.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_reqtimeout.c Tue Jan 31 21:53:17 2012
@@ -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) {