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

From: Date: Mon, 22 Sep 2014 23:11:35 +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-187672@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: slusarz at horde dot org Reported by: david at acz dot org Summary: default_socket_timeout does not work with SSL Status: Re-Opened 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: @rdlowery: I'm the author of the Horde code mentioned in this ticket. Wondering if there is something specific that we are doing that is triggering this issue (we alter the buffer sizes and timeouts after the initial call to stream_socket_client(), for example). Or is this a more generic issue that simply wasn't caught before the initial patch? If I get a chance/time, I will try compiling the latest PHP 5.5 from source and verify the latest fix works correctly, at least with the Horde code. Previous Comments: ------------------------------------------------------------------------ [2014-09-22 22:45:43] software-php at interfasys dot ch All in one patch for #41631 and #67965 for PHP 5.4 and 5.5 https://gist.github.com/oparoz/51638b24318c9f71342f ------------------------------------------------------------------------ [2014-09-22 21:46:24] software-php at interfasys dot ch Patch does not work on released 5.4 and 5.5 ------------------------------------------------------------------------ [2014-09-22 14:39:24] spam2 at rhsoft dot net https://bugs.php.net/bug.php?id=68046 is alro *re-introduced* with the latest releases from last week - these is something terrible broken with TLS ------------------------------------------------------------------------ [2014-09-21 22:44:27] arhimede at gmail dot com Plesk just released a patch related to PHP , which fixed the issue with Horde. I don't know yet if they used the patch from this ticket , so i think you can close it, until further notification. ------------------------------------------------------------------------ [2014-09-19 15:15:23] rdlowrey@php.net I've added a patch that I believe will resolve this issue once and for all. It will apply directly to 5.4 and 5.5. As this bug is exceedingly difficult to test for in isolation I need someone to build php with this patch applied and verify that it resolves the Horde problem. I will wait for feedback before merging this upstream. Thanks. ------------------------------------------------------------------------ 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

« previous php.bugs (#187672) next »