Bug #108817 keepalive not working on linux,using Mysql.Data

Submitted: 19 Oct 2022 5:52 Modified: 19 Oct 2022 6:10
Reporter: li vo Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:8.0.31 OS:Linux (centos)
Assigned to: CPU Architecture:Any
Tags: .Net Core

[19 Oct 2022 5:52] li vo
Description:
use "keepalive" in the connection string,on linux,It will throw PlatformNotSupportedException;after looking at mysql.data source code,SetKeepAlive just catch NotImplementedException to ignore the IOControl error.

How to repeat:
append "keepalive=120;" to connection string,and run on linux

Suggested fix:
SetKeepAlive add catch PlatformNotSupportedException to ignore the IOControl error.
[19 Oct 2022 6:10] MySQL Verification Team
Hello li vo,

Thank you for the report and feedback.
IMHO this is duplicate of Bug #97872, please see Bug #97872

regards,
Umesh

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

Page generated in 0.054 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.