]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1876540 from trunk:
authorJim Jagielski <jim@apache.org>
Thu, 23 Apr 2020 12:33:29 +0000 (12:33 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 23 Apr 2020 12:33:29 +0000 (12:33 +0000)
PR64295 cannot override default Virtualhost's mod_reqtimeout
of course only body=n can work the headers have to parsed to get the virtualhost.

Submitted by: jfclere
Reviewed by: jailletc36, rpluem, jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1876888 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/filters/mod_reqtimeout.c

diff --git a/STATUS b/STATUS
index da4990aebc1f4e8de876fbaf56d023a6fe8c776d..9ba13d64c080dd7a16f7862826f3b8c3af083e58 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -135,12 +135,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) mod_reqtimeout: cannot override default Virtualhost's mod_reqtimeout. PR64295
-     trunk patch:
-       - http://svn.apache.org/r1876540
-     2.4.x patch: svn merge -c 1876540 ^/httpd/httpd/trunk .
-     +1: jfclere, rpluem, jim
-
   *) mod_http2: Fixed regression that no longer set H2_STREAM_ID and H2_STREAM_TAG.
      PR64330 [Stefan Eissing]
      trunk patch:
index 68d82d49e43d7ab358b9905dc31f8ae92129222d..0ebd78a38e38069088e509acab3af5e39d469c24 100644 (file)
@@ -436,8 +436,8 @@ static int reqtimeout_before_body(request_rec *r)
         /* not configured for this connection */
         return OK;
     }
-    cfg = ap_get_module_config(r->connection->base_server->module_config,
-                               &reqtimeout_module);
+    cfg = ap_get_module_config(r->server->module_config,
+                              &reqtimeout_module);
     AP_DEBUG_ASSERT(cfg != NULL);
 
     ccfg->type = "body";