[CXX-1227] Configurable connect timeout in C++ driver. Currently fixed at 5 secs. Created: 30/Sep/11  Updated: 23/Feb/17  Resolved: 23/Feb/17

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Tony Hannan Assignee: David Golden
Resolution: Won't Fix Votes: 3
Labels: cxxcopy, legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently DBClientConnection and DBClientReplicaSet allow read/write timeout to be set but not connect timeout. According to DBClientConnection constructor comment, connect timeout is fixed at 5 seconds.



 Comments   
Comment by sachi [ 23/Feb/17 ]

Thank you for taking your time after two years to let me know that then-current-driver has now reached EOL.

Comment by David Golden [ 23/Feb/17 ]

Hello. I understand the importance of the request to you, but the legacy C++ driver is currently only getting critical bug/security fixes, not new features.

We encourage users to migrate to the new 'mongocxx' driver for much greater stability, configurability and support for new MongoDB server features.

See the C++ driver docs site for details on mongocxx.

Comment by sachi [ 08/Jan/15 ]

Please implement. Our application crashes due to this, and it would be great if we can change this both for testing and stability.

Generated at Wed Feb 07 22:01:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.