You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/11/30 15:57:05 UTC

svn commit: r1895428 - /httpd/httpd/trunk/modules/md/mod_md.c

Author: icing
Date: Tue Nov 30 15:57:05 2021
New Revision: 1895428

URL: http://svn.apache.org/viewvc?rev=1895428&view=rev
Log:
  * mod_md: install the early config hook with _FIRST, so that
   they run before any ssl modules runs get_certificates hooks.


Modified:
    httpd/httpd/trunk/modules/md/mod_md.c

Modified: httpd/httpd/trunk/modules/md/mod_md.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md.c?rev=1895428&r1=1895427&r2=1895428&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md.c (original)
+++ httpd/httpd/trunk/modules/md/mod_md.c Tue Nov 30 15:57:05 2021
@@ -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.