respect cafile setting in upstream prober

This commit is contained in:
Vladislav Yarmak
2025-09-20 18:11:00 +03:00
parent 8c3f3d20f7
commit 01fd0d2746
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -366,6 +366,9 @@ func run() int {
ss = dialer.NewFastestServerSelectionFunc(
args.serverSelectionTestURL,
args.serverSelectionDLLimit,
&tls.Config{
RootCAs: caPool,
},
)
default:
panic("unhandled server selection value got past parsing")