comparison Resources/Orthanc/Core/HttpClient.cpp @ 82:5b127ab0080b

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Dec 2016 17:01:34 +0100
parents 7a3853d51c45
children ff0ef01c332c
comparison
equal deleted inserted replaced
81:d101055fc20b 82:5b127ab0080b
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),