comparison Core/HttpClient.cpp @ 3360:7569d3dc1c20

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 07 May 2019 12:28:11 +0200
parents df4f977c2f88
children 974e12006b7d
comparison
equal deleted inserted replaced
3358:849c651c1381 3360:7569d3dc1c20
356 // http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame 356 // http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame
357 CheckCode(curl_easy_setopt(pimpl_->curl_, CURLOPT_NOSIGNAL, 1)); 357 CheckCode(curl_easy_setopt(pimpl_->curl_, CURLOPT_NOSIGNAL, 1));
358 358
359 url_ = ""; 359 url_ = "";
360 method_ = HttpMethod_Get; 360 method_ = HttpMethod_Get;
361 lastStatus_ = HttpStatus_200_Ok; 361 lastStatus_ = HttpStatus_None;
362 SetVerbose(GlobalParameters::GetInstance().IsDefaultVerbose()); 362 SetVerbose(GlobalParameters::GetInstance().IsDefaultVerbose());
363 timeout_ = GlobalParameters::GetInstance().GetDefaultTimeout(); 363 timeout_ = GlobalParameters::GetInstance().GetDefaultTimeout();
364 GlobalParameters::GetInstance().GetDefaultProxy(proxy_); 364 GlobalParameters::GetInstance().GetDefaultProxy(proxy_);
365 GlobalParameters::GetInstance().GetSslConfiguration(verifyPeers_, caCertificates_); 365 GlobalParameters::GetInstance().GetSslConfiguration(verifyPeers_, caCertificates_);
366 } 366 }