mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00868
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
We need to review every bit of code which uses curl.
I suppose we should write a curl wrapper so that developers don't have
to remember to set the proxy stuff.
** Changed in: mahara
Assignee: (unassigned) => François Marier (fmarier)
--
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
Follow ups
References