PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Client » Bug #8831

Problem with SSL

Details

Submitted2006-10-02 16:20 UTC
Fromxworkfiles at gmail dot com
StatusBogus
PackageHTTP_Client
PHP Version4.4.2
OSLinux (ASP10)
Roadmaps(Not assigned)

Comments

[2006-10-02 16:20 UTC] xworkfiles at gmail dot com

Description:
------------
Problem with ssl support.
Return null.

Test script:
---------------
require_once 'HTTP/Client.php';
$http =& new HTTP_Client();
$http->setMaxRedirects(10);
$http->get("https://my.screenname.aol.com/_cqr/login/login.psp");
dump($http->currentResponse());

Expected result:
----------------
html page

Actual result:
--------------
NULL

[2006-10-09 08:50 UTC] xworkfiles at gmail dot com

if i use
PEAR::setErrorHandling(PEAR_ERROR_PRINT);
Script retun:
Malformed response.

In previous version i use
if (PEAR::isError($ret))
{
die($ret->getMessage());
}

-------------------------------------
I create script using libcurl.