Bug #46531 support keepalive timeout option

Submitted: 3 Aug 2009 15:02 Modified: 3 Aug 2009 16:03
Reporter: Vladislav Vaintroub Email Updates:
Status: In progress Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[3 Aug 2009 15:02] Vladislav Vaintroub
Description:
This is a followup to 
"Bug #31109 client on Vista does not report 'lost connection'".

It does not seem possible to detect network disconnects by the client if client stucks in recv(). So clients could hang at least until default keepalive timeout (2hours) has expired. A smaller timeout would detect a hang earlier.

So this is a feature request to support keepalive timeout 
.This can be done with WSAIoctl on windows  http://msdn.microsoft.com/en-us/library/dd877220(VS.85).aspx and setsockopt() with TCP_KEEPIDLE & Co on Unix.

How to repeat:
N/A
[28 Sep 2010 19:48] Bonny Gijzen
I vote for this feature.
More specifically: please make it an option in the ODBC connector aswell.
[28 May 1:12] MySQL Admin
Posted by developer: Bug status updated to 'In progress'

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.