[CSHARP-937] connectTimeoutMS should apply to the socket Created: 20/Mar/14  Updated: 02/Apr/15  Resolved: 20/Nov/14

Status: Closed
Project: C# Driver
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: 2.0

Type: Improvement Priority: Minor - P4
Reporter: Craig Wilson Assignee: Craig Wilson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Epic Link: Adopt Core Library

 Description   

Currently, connectTimeoutMS applies to connecting to a server. However, our call to connect at the socket level is blocking and, if it takes longer for socket.Connect() to throw an exception that the connectTimeoutMS, we have violated the expectation.

We need to apply connectTimeoutMS at the socket level to match the setting's intentions.



 Comments   
Comment by Githook User [ 20/Nov/14 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-937: added support for connect timeout into the opening of sockets.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/ea85753fbe51f1874b37e4937eadba4f427bd21e

Generated at Wed Feb 07 21:38:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.