Bug #82810 | TcpClient missing implementations | ||
---|---|---|---|
Submitted: | 31 Aug 2016 7:38 | Modified: | 20 Jul 2020 19:06 |
Reporter: | Michiel Hazelhof | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 7.0.4 dmr | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Connection, keepalive, SuppressFinalize, TcpClient |
[31 Aug 2016 7:38]
Michiel Hazelhof
[14 Sep 2016 11:39]
Chiranjeevi Battula
Hello Michiel Hazelhof, Thank you for the bug report. Could you please provide repeatable test case (sample project, wrapper class, connection destructor etc. - please make it as private if you prefer) to confirm this issue at our end? Thanks, Chiranjeevi.
[15 Sep 2016 8:31]
Michiel Hazelhof
Please take a look at your own source code "MySql.Data\common\StreamCreator.cs:90": "//TODO: reimplement or remove keepalive". The usage of TcpClient means there is a convenient wrapper, but it does not deliver keepalive's etc out of the box. I'm not going to deliver test cases as this should be painfully obvious to anyone with even basic network and coding skills (it's even mentioned in the official source code!).
[12 Jul 2017 5:39]
Chiranjeevi Battula
Hello Michiel, Thank you for the feedback. Verified based on internal discussion with dev's. Thanks, Chiranjeevi.
[20 Jul 2020 19:06]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL Connector/NET 8.0.22 release, and here's the proposed changelog entry from the documentation team: The TcpClient implementation limited some of the connection options when an external wrapper from a Windows Forms application made the connection. This fix enables the related external destructor to be called without returning an error. Thank you for the bug report.