Issue Details (XML | Word | Printable)

Key: MDL-8018
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Petr Skoda
Reporter: Martin Dougiamas
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Implement Curl as a standard method of URL access

Created: 29/Dec/06 09:01 AM   Updated: 31/Dec/07 07:13 AM
Return to search
Component/s: Lib
Affects Version/s: 1.7
Fix Version/s: 1.9, 2.0

Issue Links:
Relates
 

Participants: Martin Dougiamas and Petr Skoda
Security Level: None
Resolved date: 31/Dec/07
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
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).

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 31/Dec/07 07:13 AM
download_file_component() now uses either curl or snoopy, curl extension is highly recommended
thanks for the report