summaryrefslogtreecommitdiff
path: root/modules/md
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2021-11-30 15:57:05 +0000
committerStefan Eissing <icing@apache.org>2021-11-30 15:57:05 +0000
commit7fd23f82ab33d45a43eef879e87f4b40d6c37d89 (patch)
tree8eb77839049f4857cc147c56badf18e2c9658a7b /modules/md
parent542d98bac5bd1ab90ff73dfedffce6aa576c4b83 (diff)
downloadhttpd-7fd23f82ab33d45a43eef879e87f4b40d6c37d89.tar.gz
* mod_md: install the early config hook with _FIRST, so that
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
Diffstat (limited to 'modules/md')
-rw-r--r--modules/md/mod_md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/md/mod_md.c b/modules/md/mod_md.c
index 6387e4dd20..6947e05328 100644
--- a/modules/md/mod_md.c
+++ b/modules/md/mod_md.c
@@ -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.