[CXX-369] Call ismaster when SSL is enabled Created: 06/Oct/14  Updated: 23/Oct/14  Resolved: 07/Oct/14

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: legacy-1.0.0-rc0
Fix Version/s: legacy-1.0.0-rc1

Type: Task Priority: Trivial - P5
Reporter: Tyler Brock Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CXX-363 SSL enablement inhibits subsequent ca... Closed

 Description   

We should be calling ismaster in DBClientConncetion::_connect even when SSL is enabled.

Right now we return if SSL is enabled and never get to set the wire version values, etc...: https://github.com/mongodb/mongo-cxx-driver/blob/legacy/src/mongo/client/dbclient.cpp#L1395



 Comments   
Comment by Githook User [ 07/Oct/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: CXX-369 call ismaster when SSL is enabled
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/571333915369a81c68aa35961adf2f3277adb0f5

Comment by Adam Midvidy [ 07/Oct/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/175

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