Moodle

Implement Curl as a standard method of URL access

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7
  • Fix Version/s: 1.9, 2.0
  • Component/s: Libraries
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

We should standardise on curl for external access because it supports a lot of things like SSL which we need more and more. Moodle Networking requires it.

We can do this in a compatible way by including the libcurlemu project in Moodle:

http://code.blitzaffe.com/pages/phpclasses/category/52/fileid/7

Once this is added, code in a few places should be converted to use it. (downloading lang packs, timezones, etc).

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

download_file_component() now uses either curl or snoopy, curl extension is highly recommended
thanks for the report

Show
Petr Škoda (skodak) added a comment - download_file_component() now uses either curl or snoopy, curl extension is highly recommended thanks for the report

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: