PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTTP » HTTP_Request » Bug #144

HTTP_Request

Details

Submitted2003-10-22 21:16 UTC
Fromeromang at zataz dot net
StatusBogus
PackageHTTP_Request
PHP Version4.3.3
OSlinux
Roadmaps(Not assigned)

Comments

[2003-10-22 21:16 UTC] eromang at zataz dot net

Description:
------------
Hello,

I have install php 4.3.3 with openssl support.
My phpinfo() say's me :

Registered PHP Streams : php, http, ftp, https, ftps, compress.zlib

also,

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6k 30 Sep 2003

But when I do an :

$req = &new HTTP_Request("https://" . $url);

I have this error message :

Warning: fread(): SSL: fatal protocol error in /usr/local/php/lib/php/Net/Socket.php on line 243

Any idea why this error ?

Thxs in advance.

Regards

[2003-12-08 21:29 UTC] eromang at zataz dot net

Hello,

2 month later i have the same problem....
Nobody answer on this bug ?

Array
(
[orderID] => 1
[PSPID] => zataztest
[PSWD] => test
[amount] => 1
[currency] => EUR
[CARDNO] => 345333344
[ED] => 12%2F03
[COM] => Test%2BZATAZ
[BRAND] => VISA
[EMAIL] => test%2540test.com
[CVC] => 345
[CN] => test
[SHASign] => %DC%BE%E1%28%B1i%85%0D%D8%0E%18xJ%8Bn%9E%A4%7F%E0M
)

Warning: fread(): SSL: fatal protocol error in /usr/lib/php/Net/Socket.php on line 243

[2004-08-02 12:18 UTC] david at inspiredthinking dot co dot uk

Getting a 'fread(): SSL: fatal protocol error' with a SSL connection to IIS. IIS doesn't terminate the SSL connection properly - with a 'close' hence the error.

This is a known problem with IIS - Suggest changing the 'Warning' to 'Notice' if connected to IIS.