On Thu, 26 Aug 2004 14:40:46 -0700, Pablo Gosse <[EMAIL PROTECTED]> wrote:
> 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?
> 

It's a bug in PHP. Upgrade or add a @ at the beginning of that fread()
call. It should still work fine.

> Cheers and TIA,
> 
> Pablo
> 

-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to