Bug #70456 [Opn->Csd]: PHP mysqlnd doesn't activate TCP keep-alive when connecting to a server
| From: | cmb@php.net | Date: | Wed, 09 Sep 2015 01:21:51 +0000 |
| Subject: | Bug #70456 [Opn->Csd]: PHP mysqlnd doesn't activate TCP keep-alive when connecting to a server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195892@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70456&edit=1
ID: 70456
Updated by: cmb@php.net
Reported by: turchanov at farpost dot com
Summary: PHP mysqlnd doesn't activate TCP keep-alive when
connecting to a server
-Status: Open
+Status: Closed
Type: Bug
Package: MySQLi related
Operating System: Linux
PHP Version: 5.6.13
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of turchanov@farpost.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7b3616db775ce11bd85918af2a7a38bb15c3729f
Log: Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server
Previous Comments:
------------------------------------------------------------------------
[2015-09-08 00:31:52] turchanov at farpost dot com
Description:
------------
libmysqlclient activates TCP keep-alive when connecting to a server but mysqlnd doesn't do
that. This breaks API guarantees provided by libmysqlclient.
Specifically this affect us in situation when IP address of a server migrates from host to another
host conected PHP client hangs indefinitely (which didn't happen when we were using PHP
libmysqlclient driver).
Proposed fix:
https://github.com/php/php-src/pull/1499
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70456&edit=1