[GODRIVER-336] Move TLS configuration out of connection.New Created: 04/Apr/18 Updated: 06/Apr/18 Resolved: 06/Apr/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | 0.0.2 |
| Fix Version/s: | 0.0.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The connection.New function currently handles configuring the connection for TLS directly inline. This clutters up the function and makes it more difficult to understand. Break the functionality to configure a connection for TLS into it's own function and call that from connection.New. |
| Comments |
| Comment by Githook User [ 06/Apr/18 ] |
|
Author: {'email': 'kris@mongodb.com', 'name': 'Kris Brandow', 'username': 'skriptble'}Message: Factor TLS config logic out of connection.New Change-Id: Icdd21d949b570ffb954b0652281a6a6366c933a8 |
| Comment by Kristofer Brandow (Inactive) [ 05/Apr/18 ] |
|
Code Review: https://review.gerrithub.io/c/406647/. |