← Back to team overview

mahara-contributors team mailing list archive

[Bug 1457032] [NEW] remote avar does not adhere to site proxy settings

 

Public bug reported:

When using a mahara site with proxy enabled , remote avatar function
does after trying to get the avatar from the internet(after 120 s) .This
makes browsing the site really slow behind a firewall . This happens due
to the fact that get_headers function under lib/user.php page does not
support proxy calls .

A way to get around this is to use stream_context_set_default before
call to get_headers and use the proxy there.

Patch for the fix has been submitted.

Hittesh

** Affects: mahara
     Importance: Undecided
         Status: New

** Patch added: "Added-code-to-adhere-to-site-proxy-settings.patch"
   https://bugs.launchpad.net/bugs/1457032/+attachment/4400991/+files/Added-code-to-adhere-to-site-proxy-settings.patch

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1457032

Title:
  remote avar does not adhere to site proxy settings

Status in Mahara ePortfolio:
  New

Bug description:
  When using a mahara site with proxy enabled , remote avatar function
  does after trying to get the avatar from the internet(after 120 s)
  .This makes browsing the site really slow behind a firewall . This
  happens due to the fact that get_headers function under lib/user.php
  page does not support proxy calls .

  A way to get around this is to use stream_context_set_default before
  call to get_headers and use the proxy there.

  Patch for the fix has been submitted.

  Hittesh

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1457032/+subscriptions


Follow ups

References