Re: HTTP_Client or Net_Socket bug?

From: Date: Fri, 12 Nov 2004 18:59:39 +0000
Subject: Re: HTTP_Client or Net_Socket bug?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34366@lists.php.net to get a copy of this message
On Fri, 12 Nov 2004 10:59:50 -0500, Andrew Nagy <asnagy@webitecture.org> wrote: > I have been using HTTP_Client to connect to an SSL site. When I do, I > get the following warning. > > Warning: fread(): SSL: fatal protocol error in > /usr/share/pear/Net/Socket.php on line 262 > > Is this an HTTP_Client or Net_Socket bug or am I doing something wrong? > I presume you're connecting to an IIS server? Some versions of IIS (hehe, probably all) don't follow the protocol correctly and PHP issues this warning. It doesn't actually affect anything, though. You can fix this by updating to the newst Net_Socket. Alternatively, you can just disable warnings in PHP, but that's not a great idea for development. -- Justin Patrin

« previous php.pear.dev (#34366) next »