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

Bug #14127 Request to check if openssl exists
Submitted: 2008-06-12 09:27 UTC
From: shangxiao Assigned: avb
Status: Closed Package: HTTP_Request (version 1.4.2)
PHP Version: 5.2.6 OS:
Roadmaps: 1.4.3    
Subscription  


 [2008-06-12 09:27 UTC] shangxiao (David Sanders)
Description: ------------ Can an optional dependency for the openssl extension be added to the package.xml file and/or add a check in HTTP_Request? I had a php without openssl support and it just quietly sat there when calling HTTP_Request::sendRequest(). I was pulling my hair out trying to see where it was failing ;)

Comments

 [2008-06-16 18:58 UTC] avb (Alexey Borzov)
Ugh, looks like there *is* a check for openssl in sendRequest(), but instead of returning the error it just tries to connect without openssl. Will fix this.
 [2008-06-16 19:00 UTC] avb (Alexey Borzov)
Reclassifying as a bug.
 [2008-07-21 16:44 UTC] avb (Alexey Borzov)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. -- The sendRequest() method will now return a PEAR_Error if trying to make a HTTPS request without OpenSSL support.