Bug #55283 [Ver]: SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections
| From: | pajoye@php.net | Date: | Thu, 18 Aug 2011 07:55:45 +0000 |
| Subject: | Bug #55283 [Ver]: SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162648@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55283&edit=1
ID: 55283
Updated by: pajoye@php.net
Reported by: aleksey at wepay dot com
Summary: SSL options set by mysqli_ssl_set ignored for MySQLi
persistent connections
Status: Verified
Type: Bug
Package: MySQLi related
Operating System: Cent OS
PHP Version: 5.3.6
Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
You can try in German then as you both speak German as well.
However it looks to me that the code speaks for itself. The connection fails after
the timeout. This comment is based on this discussion on internals,
http://news.php.net/php.internals/54667 .
Previous Comments:
------------------------------------------------------------------------
[2011-08-18 07:51:51] andrey@php.net
English is neither my mother tongue.
------------------------------------------------------------------------
[2011-08-18 07:17:15] spam2 at rhsoft dot net
what try you to tell me with "I don't get your comment :("
remember that not everfybody has english as nmative language
i need a way to revert this change to get PHP 5.3.7
working with mysqlnd/ssl the same way as it did the
whole last year
------------------------------------------------------------------------
[2011-08-18 06:08:55] andrey@php.net
I don't get your comment :(
------------------------------------------------------------------------
[2011-08-18 01:34:33] spam2 at rhsoft dot net
well i guess this change results in connections hanging around and
after a hughe timeout filling my mailbox with cron-mails since
upgraded to 5.3.7 using MYSQLND so "Changing mysqli to make libmysql happy will cause leaks
with mysqlnd" seems to be true -> but why done this change if knowing it?
mysqlnd 5.0.8-dev - 20102224 - $Revision: 310735 $
without ssl_set() all works fine but unencyrpted
how can i revert this change for the 5.3.7-final.tar.bz2?
___________
MySQL server has gone away
$this->ssl_key = '/etc/mysql-ssl/client.pem';
$this->ssl_crt = '/etc/mysql-ssl/client.pem';
$this->ssl_ca = '/etc/mysql-ssl/ca.crt';
$>conn->ssl_set($this->ssl_key, $this->ssl_crt, $this->ssl_ca, NULL, NULL);
------------------------------------------------------------------------
[2011-08-05 13:39:28] andrey@php.net
Automatic comment from SVN on behalf of andrey
Revision: http://svn.php.net/viewvc/?view=revision&revision=314330
Log: Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections
------------------------------------------------------------------------
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=55283
--
Edit this bug report at https://bugs.php.net/bug.php?id=55283&edit=1