]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* mod_md: install the early config hook with _FIRST, so that
authorStefan Eissing <icing@apache.org>
Tue, 30 Nov 2021 15:57:05 +0000 (15:57 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 30 Nov 2021 15:57:05 +0000 (15:57 +0000)
   they run before any ssl modules runs get_certificates hooks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895428 13f79535-47bb-0310-9956-ffa450edef68

modules/md/mod_md.c

index 6387e4dd2007be8ff7cf90316d4b1e1e1e668628..6947e053284b2d7e92b79514a640e7674396482e 100644 (file)
@@ -1496,7 +1496,7 @@ static void md_hooks(apr_pool_t *pool)
     /* Run once after configuration is set, before mod_ssl.
      * Run again after mod_ssl is done.
      */
-    ap_hook_post_config(md_post_config_before_ssl, NULL, mod_ssl, APR_HOOK_MIDDLE);
+    ap_hook_post_config(md_post_config_before_ssl, NULL, mod_ssl, APR_HOOK_FIRST);
     ap_hook_post_config(md_post_config_after_ssl, mod_ssl, mod_wd, APR_HOOK_LAST);
 
     /* Run once after a child process has been created.