mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00270
[Bug 562699] [NEW] xmlrpc client API doesn't use proxy settings
Public bug reported:
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
** Affects: mahara
Importance: Undecided
Status: New
--
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: New
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
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: Melissa Draper, 2012-04-18
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: Hugh Davenport, 2011-07-27
-
[Bug 562699] A change has been merged
From: Mahara Bot, 2011-07-25
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: Hugh Davenport, 2011-07-04
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: François Marier, 2011-05-02
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: François Marier, 2010-12-20
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: Richard Mansfield, 2010-09-10
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: François Marier, 2010-07-30
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: François Marier, 2010-07-26
-
[Bug 562699] Re: xmlrpc client API doesn't use proxy settings
From: François Marier, 2010-07-14
-
[Bug 562699] [NEW] xmlrpc client API doesn't use proxy settings
From: Ashley Holman, 2010-04-14
References