From: Stefan Eissing Date: Tue, 30 Nov 2021 15:57:05 +0000 (+0000) Subject: * mod_md: install the early config hook with _FIRST, so that X-Git-Tag: 2.5.0-alpha2-ci-test-only~681 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7fd23f82ab33d45a43eef879e87f4b40d6c37d89;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/md/mod_md.c b/modules/md/mod_md.c index 6387e4dd200..6947e053284 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.