Edit report at http://bugs.php.net/bug.php?id=41770&edit=1

 ID:                 41770
 Comment by:         ryandewhurst at gmail dot com
 Reported by:        car...@php.net
 Summary:            SSL: fatal protocol error due to buffer issues
 Status:             No Feedback
 Type:               Bug
 Package:            Streams related
 Operating System:   Linux
 PHP Version:        5.2.3
 Assigned To:        iliaa
 Block user comment: N
 Private report:     N

 New Comment:

I have come across many PHP bug reports on this dating back to 2003 and
every single one tries to mask the problem rather than solve it. We will
soon be in 2011, is there or have there been any fixes for this? The
https server is PayPal. 



# php -v

PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37) 

Copyright (c) 1997-2006 The PHP Group

Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies



CentOS 5.x


Previous Comments:
------------------------------------------------------------------------
[2007-12-17 02:14:07] paul at cynergydata dot com

I'm using PHP 5.1.4 on a Windows XP Laptop running Apache 2.0 and I get
the error when using SoapClient.  Here is my code:



$url =
"https://payments.cynergydata.com/SmartPayments/transact2.asmx?WSDL";;



$client = new SoapClient($url);



-- a pretty simple example going against an IIS server.  I will try
other methods as I need to find a workaround for a client ASAP.

------------------------------------------------------------------------
[2007-07-25 13:31:41] johnw at sussex dot ac dot uk

I get this bug too,using fsockopen('ssl://...') followed by fgets()



I'm using PHP 5.2.1 on Solaris 9 using OpenSSL/0.9.7b.



If I call @fgets(...) my application seems to work but it would be 

better if the bug was fixed properly!



The ssl server I'm connecting to is an IIS one.

------------------------------------------------------------------------
[2007-07-13 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2007-07-05 20:36:18] il...@php.net

I am unable to reproduce the bug with 4 different HTTPS hosts and the 

provided code. Do you have a particular URL/host that can be used to 

reproduce the described issue.

------------------------------------------------------------------------
[2007-07-02 16:50:24] car...@php.net

iliaa: All you did is make the warning not appear with that commit. You
didn't fix the underlying issue with the connection. It still closes the
connection and now it will just mysteriously start failing rather then
giving a warning about why it's failing.



I would revert your commit and not mark this as fixed.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=41770


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=41770&edit=1

Reply via email to