Bug #41631 [Com]: default_socket_timeout does not work with SSL

From: Date: Sun, 09 Jul 2017 21:23:14 +0000
Subject: Bug #41631 [Com]: default_socket_timeout does not work with SSL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209948@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=41631&edit=1

 ID:                 41631
 Comment by:         mmn at hethane dot se
 Reported by:        david at acz dot org
 Summary:            default_socket_timeout does not work with SSL
 Status:             Closed
 Type:               Bug
 Package:            OpenSSL related
 Operating System:   *
 PHP Version:        5.2, 5.3, 5.4, 5.5, 5.6
 Assigned To:        rdlowrey
 Block user comment: N
 Private report:     N

 New Comment:

Hello, I think this _maybe_ is still an issue! Or at least something peculiar is happening with my
TLS connections in regards to timeouts against at least certain remote hosts. I filed a bug report
on #74888 for anyone who thinks this bug might have resurfaced... .) https://bugs.php.net/bug.php?id=74888


Previous Comments:
------------------------------------------------------------------------
[2015-03-04 15:59:57] rdlowrey@php.net

This has been addressed (we believe once and for all) in upstream 5.5/5.6/master branches. Thanks to
bbroerman for the associated patches.

http://git.php.net/?p=php-src.git;a=commitdiff;h=fd4641696cc67fedf494717b5e4d452019f04d6f
http://git.php.net/?p=php-src.git;a=commitdiff;h=1482ed2d5660c3875add40706a18fe29e2b3ff70
http://git.php.net/?p=php-src.git;a=commitdiff;h=dddbe0fc338a0f01ba336e84755694fb9bfbeb53

------------------------------------------------------------------------
[2014-10-24 14:34:19] rick at webambition dot nl

My mistake: PHP 5.5.18 also solved the truncated / incomplete SoapClient responses problem for us.
Sorry for the confusion.

------------------------------------------------------------------------
[2014-10-24 12:12:37] software-php at interfasys dot ch

@rick, try the patch. It applies cleanly on 5.5.18

------------------------------------------------------------------------
[2014-10-24 11:48:56] rick at webambition dot nl

We have the same SoapClient SSL issue as fredrik but the PHP version we're on is 5.5.18 (dotdeb
on wheezy). The response body is truncated / cut-off around 7000~7999 bytes. 

On PHP 5.5.17 we had connection timeouts but those were fixed by 5.5.18.

------------------------------------------------------------------------
[2014-10-20 10:44:44] software-php at interfasys dot ch

@fredrik, the patch applies cleanly on 32 and 34 (xp_ssl.c is the same). Forget 33, it's
broken.

It's great news if it works for you. That means we're one step closer to having a 100%
working solution.

A good thing the SSLv3 will be backported as well given the recent news about poodle :)

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


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=41631


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


Thread (67 messages)

« previous php.bugs (#209948) next »