Work toward http/https client unification.

This commit is contained in:
Arthur Britto
2013-01-30 15:17:01 -08:00
parent 163c4869d6
commit 2f0721f80f
10 changed files with 161 additions and 59 deletions

View File

@@ -824,6 +824,7 @@ void UniqueNodeList::getIpsUrl(const RippleAddress& naNodePublic, section secSit
&& strScheme == "https")
{
HttpsClient::httpsGet(
true,
theApp->getIOService(),
strDomain,
443,
@@ -867,6 +868,7 @@ void UniqueNodeList::getValidatorsUrl(const RippleAddress& naNodePublic, section
&& strScheme == "https")
{
HttpsClient::httpsGet(
true,
theApp->getIOService(),
strDomain,
443,
@@ -1037,6 +1039,7 @@ void UniqueNodeList::fetchProcess(std::string strDomain)
deqSites.push_back(strDomain);
HttpsClient::httpsGet(
true,
theApp->getIOService(),
deqSites,
443,
@@ -1572,6 +1575,7 @@ void UniqueNodeList::nodeNetwork()
if (!theConfig.VALIDATORS_SITE.empty())
{
HttpsClient::httpsGet(
true,
theApp->getIOService(),
theConfig.VALIDATORS_SITE,
443,