← Back to team overview

mahara-contributors team mailing list archive

[Bug 562699] Re: xmlrpc client API doesn't use proxy settings

 

** Changed in: mahara
     Assignee: François Marier (fmarier) => (unassigned)

-- 
xmlrpc client API doesn't use proxy settings
https://bugs.launchpad.net/bugs/562699
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Triaged

Bug description:
in api/xmlrpc/client.php: function send():

this doesn't ever use proxy settings, hence was timing out for me because my web server MUST go through a proxy.

I was able to fix it by adding these lines:

        if($proxy_address = get_config('proxyaddress')) {
          curl_setopt($ch, CURLOPT_PROXY, $proxy_address);
        }

Thanks





References