[CDRIVER-368] mongoc_client_pool_t needs API for setting SSL context Created: 19/May/14 Updated: 03/May/17 Resolved: 19/May/14 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Hergert | Assignee: | Christian Hergert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
Consumers of the API should not need to prime the connection SSL context as it might be too late to do so by time they get the mongoc_client_t. Therefore, we need to add mongoc_client_pool_set_ssl_opts(). |
| Comments |
| Comment by Christian Hergert [ 19/May/14 ] |
|
A small followup commit is needed as well, depending on your platform, which adds the function to the exported ABI. https://github.com/mongodb/mongo-c-driver/commit/d2379f7d079fd1b427652f52c3ee26ed527a87e5 |
| Comment by Christian Hergert [ 19/May/14 ] |
|
Fixed in git master. https://github.com/mongodb/mongo-c-driver/commit/a3510448fea4edc1bd56e70fbb293a87a0f97939 |