containerd/remotes/docker/config
Derek McGowan 79772a0dd4
remotes: always try to establish tls connection when tls configured
When a endpoint is configured for http and has a tls configuration,
always try to the tls connection and fallback to http when the tls
connections fails from receiving an http response. This fixes an issue
with default localhost endpoints which get defaulted to http with
insecure tls also configured but are using tls.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-10-02 15:29:11 -07:00
..
config_unix.go chore: use go fix to cleanup old +build buildtag 2022-12-29 14:25:14 +08:00
config_windows.go Support default hosts.toml configuration 2022-11-03 16:26:51 -06:00
docker_fuzzer_internal.go chore: use go fix to cleanup old +build buildtag 2022-12-29 14:25:14 +08:00
hosts_test.go remotes: always try to establish tls connection when tls configured 2023-10-02 15:29:11 -07:00
hosts.go remotes: always try to establish tls connection when tls configured 2023-10-02 15:29:11 -07:00