comparison Resources/Orthanc/Core/HttpClient.cpp @ 30:1099a148f7e5

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Dec 2016 17:05:41 +0100
parents ff1e935768e7
children 7207a407bcd8
comparison
equal deleted inserted replaced
29:22ab2d8566fa 30:1099a148f7e5
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),