php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70456 PHP mysqlnd doesn't activate TCP keep-alive when connecting to a server
Submitted: 2015-09-08 00:31 UTC Modified: -
From: turchanov at farpost dot com Assigned:
Status: Closed Package: MySQLi related
PHP Version: 5.6.13 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: turchanov at farpost dot com
New email:
PHP Version: OS:

 

 [2015-09-08 00:31 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-09 01:21 UTC] cmb@php.net
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
 [2015-09-09 01:21 UTC] cmb@php.net
-Status: Open +Status: Closed
 [2015-09-15 12:13 UTC] ab@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC