[CDRIVER-475] Add support for ssl=prefer connection string Created: 02/Dec/14  Updated: 03/May/17  Resolved: 09/Dec/14

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

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PHPC-98 Remove ssl=prefer support Closed
is related to PHPC-38 Implement SSL support via PHP streams Closed

 Description   

When upgrading MongoDB to use SSL the driver will be talking to a mixed set of servers, some with and some without SSL.
See http://docs.mongodb.org/manual/tutorial/upgrade-cluster-to-ssl/

To keep the driver happy, it should be configured to "prefer" an SSL connection (similar to the sslMode preferSSL), but if it fails its OK to reconnect without SSL.



 Comments   
Comment by Hannes Magnusson [ 09/Dec/14 ]

The option is now being removed from the spec

Comment by Hannes Magnusson [ 02/Dec/14 ]

https://github.com/mongodb/mongo-c-driver/pull/131

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