← Back to team overview

mahara-contributors team mailing list archive

[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

References