Bug #117462 Feature request: Introduce timeouts for connection API
Submitted: 13 Feb 9:56 Modified: 13 Feb 10:05
Reporter: Val Doroshchuk Email Updates:
Status: Verified Impact on me:
None 
Category:Connector / C++ Severity:S4 (Feature request)
Version:8.0.30 OS:Any
Assigned to: CPU Architecture:Any

[13 Feb 9:56] Val Doroshchuk
Description:
The original ticket: https://bugs.mysql.com/bug.php?id=116580

> Definitely having an option to control read timeout would help to handle that situation better. Still please report a feature request for this -- that would help us to manage the change.

Since the timeouts are not implemented in `TLS::Read_op::common_read` and `connection::detail::recv_some` and if there is no activity on the socket, it will hang forever. 

It would be very nice to provide some (default?) timeout param to avoid infinite hangs or waiting.
Thanks

How to repeat:
Please follow https://bugs.mysql.com/bug.php?id=116580
[13 Feb 10:05] MySQL Verification Team
Hello Val Doroshchuk,

Thank you for the feature request.

regards,
Umesh