comparison Core/HttpClient.cpp @ 2219:262fcab24024

fix for HttpsCACertificates
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Dec 2016 11:06:41 +0100
parents fd5875662670
children a3a65de1840f
comparison
equal deleted inserted replaced
2218:3eefb84ac0bd 2219:262fcab24024
316 CheckCode(curl_easy_setopt(pimpl_->curl_, CURLOPT_NOSIGNAL, 1)); 316 CheckCode(curl_easy_setopt(pimpl_->curl_, CURLOPT_NOSIGNAL, 1));
317 317
318 url_ = ""; 318 url_ = "";
319 method_ = HttpMethod_Get; 319 method_ = HttpMethod_Get;
320 lastStatus_ = HttpStatus_200_Ok; 320 lastStatus_ = HttpStatus_200_Ok;
321 isVerbose_ = false; 321 SetVerbose(false);
322 timeout_ = GlobalParameters::GetInstance().GetDefaultTimeout(); 322 timeout_ = GlobalParameters::GetInstance().GetDefaultTimeout();
323 GlobalParameters::GetInstance().GetDefaultProxy(proxy_); 323 GlobalParameters::GetInstance().GetDefaultProxy(proxy_);
324 GlobalParameters::GetInstance().GetSslConfiguration(verifyPeers_, caCertificates_); 324 GlobalParameters::GetInstance().GetSslConfiguration(verifyPeers_, caCertificates_);
325 } 325 }
326 326
327 327
328 HttpClient::HttpClient() : 328 HttpClient::HttpClient() :
329 pimpl_(new PImpl), 329 pimpl_(new PImpl),