Bug #55848 [Ver]: openssl doesn't work with unix sockets
| From: | andrey@php.net | Date: | Mon, 10 Oct 2011 20:47:01 +0000 |
| Subject: | Bug #55848 [Ver]: openssl doesn't work with unix sockets | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164213@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55848&edit=1
ID: 55848
Updated by: andrey@php.net
Reported by: mattficken@php.net
Summary: openssl doesn't work with unix sockets
Status: Verified
Type: Bug
Package: OpenSSL related
Operating System: Windows
PHP Version: 5.4.0beta1
Block user comment: N
Private report: N
New Comment:
Matt, the error message comes from two places both in PHP. Once wenn crypto is set up and then when
enabled. It probably barks already during set up and this got to be traced. I can't reproduce
it here on Linux. Is it possible go trace it in a debugger and see which parts of the streams return
NOT_IMPL for the stream?
Thanks!
Previous Comments:
------------------------------------------------------------------------
[2011-10-10 20:08:43] andrey@php.net
PHP 5.3 and 5.4, and probably trunk, don't support SSL over Unix Sockets. Sorry! mysqlnd tries
to set up SSL and PHP barks that this stream type doesn't support crypto.
As workaround: you have to go back using libmysql, where SSL over Unix Sockets works.
------------------------------------------------------------------------
[2011-10-08 09:39:35] pajoye @php.net
This bug due to this typo was only in 5.3, 5.4 and trunk were not affected as far as I can see
------------------------------------------------------------------------
[2011-10-08 09:14:00] pawel at prochot dot co dot uk
https://bugs.php.net/bug.php?id=55870
Explains how to fix it. Just fix the spelling mistake or grab a snapshot.
------------------------------------------------------------------------
[2011-10-05 18:06:11] mattficken@php.net
I have tried 54 snapshot r317753 and it fails just like 5.4.0beta1
------------------------------------------------------------------------
[2011-10-05 05:20:30] pajoye@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=317753
Log: - Revert r313616 (When we have a blocking SSL socket, respect the timeout
option, scottmac)
# This caused bug #55283 and #55848, we should investigate a proper solution without
# breaking anything.
------------------------------------------------------------------------
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=55848
--
Edit this bug report at https://bugs.php.net/bug.php?id=55848&edit=1