Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.5

Bug #1941 QA Bug: Missing dependency on curl
Submitted: 2004-07-21 21:05 UTC
From: thesaur Assigned: jstump
Status: Closed Package: Net_Curl
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2004-07-21 21:05 UTC] thesaur
Description: ------------ Because this package requires the curl extension, curl needs to be listed as a dependency. If there's a workaround for the case that curl isn't installed, it should be at least an optional dependency.

Comments

 [2005-07-13 18:36 UTC] joe at joestump dot net
Also, Net_Curl::execute() should check for curl_init before blindly running it. Returning a PEAR_Error from Net_Curl::execute() would allow packages to fail gracefully if curl is not installed instead of just borking the whole system. Dependency would clear this up, but if I a.) installed curl, b.) installed Net_Curl and then c.) removed curl (who knows why) then execute() should still verify curl is installed.
 [2005-07-13 21:55 UTC] joe at joestump dot net
 [2005-07-28 02:31 UTC] jstump
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Net_Curl
 [2005-07-28 02:32 UTC] jstump
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Net_Curl