[cpp-sp] branch main updated: SSPCPP-964 - Crash in MDQ background init thread during config test
Scott Cantor
cantor.2 at osu.edu
Tue Jan 10 15:32:19 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=17129248f7f6975ba811a4fb08b9190d253306a6
The following commit(s) were added to refs/heads/main by this push:
new 17129248 SSPCPP-964 - Crash in MDQ background init thread during config test
17129248 is described below
commit 17129248f7f6975ba811a4fb08b9190d253306a6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 10 10:31:45 2023 -0500
SSPCPP-964 - Crash in MDQ background init thread during config test
https://shibboleth.atlassian.net/browse/SSPCPP-964
---
shibsp/metadata/DynamicMetadataProvider.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/shibsp/metadata/DynamicMetadataProvider.cpp b/shibsp/metadata/DynamicMetadataProvider.cpp
index e5e69660..e340f8d7 100644
--- a/shibsp/metadata/DynamicMetadataProvider.cpp
+++ b/shibsp/metadata/DynamicMetadataProvider.cpp
@@ -193,6 +193,10 @@ DynamicMetadataProvider::DynamicMetadataProvider(const DOMElement* e, bool depre
if (!m_cacheDir.empty()) {
XMLToolingConfig::getConfig().getPathResolver()->resolve(m_cacheDir, PathResolver::XMLTOOLING_CACHE_FILE);
m_backgroundInit = XMLHelper::getAttrBool(e, true, backgroundInit);
+ if (m_backgroundInit && SPConfig::getConfig().isEnabled(SPConfig::RequestMapping)) {
+ m_backgroundInit = false;
+ m_log.info("disabling background initialization for configuration test");
+ }
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list