Skip to content

Commit

Permalink
Prevent leak of file descriptors when CONSUL_HTTP_SSL_VERIFY=false.
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Dec 17, 2015
1 parent 414f26c commit 86911cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func DefaultConfig() *Config {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
},
DisableKeepAlives: true,
}
}
}
Expand Down

0 comments on commit 86911cd

Please sign in to comment.