mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-13 12:58:17 +03:00
F #4809: Enable curl timeouts
This commit is contained in:
parent
0c84c4b61b
commit
468a104b14
@ -227,13 +227,8 @@ int Client::call(const std::string& endpoint, const std::string& method,
|
||||
const xmlrpc_c::paramList& plist, unsigned int _timeout,
|
||||
xmlrpc_c::value * const result, std::string& error)
|
||||
{
|
||||
/*
|
||||
xmlrpc may raise if there is outstanding curl work
|
||||
|
||||
xmlrpc_c::clientXmlTransport_curl transport(
|
||||
xmlrpc_c::clientXmlTransport_curl::constrOpt().timeout(_timeout));
|
||||
*/
|
||||
xmlrpc_c::clientXmlTransport_curl transport;
|
||||
|
||||
xmlrpc_c::carriageParm_curl0 carriage(endpoint);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user