[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

GODRIVER-336

Change-Id: Icdd21d949b570ffb954b0652281a6a6366c933a8
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/31d52814e8716d4cf6cafecd349033d595a2d11d

Comment by Kristofer Brandow (Inactive) [ 05/Apr/18 ]

Code Review: https://review.gerrithub.io/c/406647/.

Generated at Thu Feb 08 08:34:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.