mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
Initialize HTTP client after the config is loaded
This commit is contained in:
@@ -270,8 +270,6 @@ void Config::setup (std::string const& strConf, bool bQuiet)
|
||||
}
|
||||
}
|
||||
|
||||
HTTPClient::initializeSSLContext(*this);
|
||||
|
||||
// Update default values
|
||||
load ();
|
||||
{
|
||||
@@ -290,6 +288,8 @@ void Config::setup (std::string const& strConf, bool bQuiet)
|
||||
boost::str (boost::format ("Can not create %s") % dataDir));
|
||||
|
||||
legacy ("database_path", boost::filesystem::absolute (dataDir).string ());
|
||||
|
||||
HTTPClient::initializeSSLContext(*this);
|
||||
}
|
||||
|
||||
void Config::load ()
|
||||
|
||||
Reference in New Issue
Block a user