[SERVER-62199] Use the `TimerService` to ensure `TransportLayer` honors requested timeouts Created: 20/Dec/21  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-54900 Blocking networking calls can delay s... Closed
Assigned Teams:
Service Arch
Sprint: Service Arch 2022-03-07, Service Arch 2022-03-21, Service Arch 2022-04-04, Service Arch 2022-04-18, Service Arch 2022-05-02, Service Arch 2022-05-16
Participants:

 Description   

SERVER-54900 introduced a timer service to ensure all egress connections properly timeout during SSL handshake. This ticket should extend the usage of this timer service and implement timeout for blocking calls offered by TransportLayerASIO. In particular, this ticket should ensure connect properly honors the requested timeout.



 Comments   
Comment by Daniel Morilha (Inactive) [ 08/Mar/22 ]

Spent some time investigating if the underlying library doesn't deliver that for free (like what is found in boost beast), and unfortunately it doesn't. Time to dive into the current implementation.

Generated at Thu Feb 08 05:54:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.