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

 ID:                 45016
 Comment by:         korvus at comcast dot net
 Reported by:        tpowell at electric-cloud dot com
 Summary:            connect timeout on successful connect
 Status:             No Feedback
 Type:               Bug
 Package:            OpenSSL related
 Operating System:   *
 PHP Version:        5.3CVS-2008-05-16 (CVS)
 Block user comment: N
 Private report:     N

 New Comment:

There are some very big flaws in the way that the timeout wass assessed in the 
code above.

Thankfully, it looks like this was resolved in the following commit: 
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/openssl/xp_ssl.c?r1=306335&r2=306581

You can probably call this closed.


Previous Comments:
------------------------------------------------------------------------
[2009-07-01 19:41:20] korvus at comcast dot net

This does not appear to have been fixed in php5.3-latest.  The timeout is still 
checked before the return value of SSL_connect() is even considered.

This will certainly cause successful, but delayed (quite possibly due to 
resource exhaustion on the server) SSL connections to be dropped altogether, 
producing the error "SSL: connection timeout".  This may prevent the usage of a 
very-congested SSL-based resource.

------------------------------------------------------------------------
[2009-02-19 01:00:01] 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".

------------------------------------------------------------------------
[2009-02-11 21:36:13] fel...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2008-07-22 01:00:02] 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".

------------------------------------------------------------------------
[2008-07-14 21:09:24] j...@php.net

Can you try the patch Kalle posted above?

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


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

    https://bugs.php.net/bug.php?id=45016


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

Reply via email to