[DRIVERS-933] Set default socket timeout for connections from driver to mongocryptd Created: 04/Mar/20  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: Client Side Encryption
Fix Version/s: None

Type: Spec Change Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DRIVERS-934 Drivers should ensure mongocryptd std... Closed

 Description   

The default socket timeout for MongoClient to servers generally defaults to "infinite" in drivers. But similarly to why we set a one second server selection timeout for MongoClient connections to mongocryptd, drivers should do the same for socket connect timeout and socket timeout.



 Comments   
Comment by Jeffrey Yemin [ 04/Mar/20 ]

Loosely related to SPEC-1597. Without the socket timeout, the issued identifier there would cause the connections to MongoClient to wait indefinitely on a socket read.

Generated at Thu Feb 08 08:22:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.