Problem using fread with https
| From: | Pablo Gosse | Date: | Thu, 26 Aug 2004 21:40:46 +0000 |
| Subject: | Problem using fread with https | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194855@lists.php.net to get a copy of this message | ||
Hi folks. I'm getting the following error when attempting to use
PEAR::HTTP_Request to check the existence of a file.
It's throwing an error from fread on an https stream:
Warning: fread(): SSL: fatal protocol error in
/u0/local/lib/php/Net/Socket.php on line 263
Line 263 is as follows:
return fread($this->fp, $size);
My PHP version is 4.3.4, and it's compiled with openssl, so I can't see
why this is throwing an error since according to the docs as long as
openssl is compiled https is supported.
Does anyone have any suggestions?
Cheers and TIA,
Pablo