You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/12/21 18:35:48 UTC

[GitHub] [trafficcontrol] ocket8888 commented on a change in pull request #6440: Update TM to check securely

ocket8888 commented on a change in pull request #6440:
URL: https://github.com/apache/trafficcontrol/pull/6440#discussion_r773361262



##########
File path: traffic_monitor/tmcheck/tmcheck.go
##########
@@ -44,7 +43,7 @@ const TrafficMonitorStatsPath = "/publish/Stats"
 
 func getClient() *http.Client {
 	return &http.Client{
-		Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},
+		Transport: &http.Transport{},

Review comment:
       I believe the `Transport` property doesn't need to be set at all if you're not doing anything special with it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org