1
0
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:
Ruben S. Montero 2017-06-18 15:29:32 +02:00
parent 0c84c4b61b
commit 468a104b14

View File

@ -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);