Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Nov 30, 2024
1 parent 41251ed commit 008e810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fronted.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func copyProviders(providers map[string]*Provider) map[string]*Provider {
providersCopy := make(map[string]*Provider, len(providers))
for key, p := range providers {
providersCopy[key] = NewProvider(p.HostAliases, p.TestURL, p.Masquerades, p.Validator, p.PassthroughPatterns, p.SNIConfig, p.VerifyHostname)
log.Debugf("Domain fronting provider is %v", providersCopy[key])
}
return providersCopy
}
Expand Down Expand Up @@ -134,6 +133,7 @@ func loadMasquerades(initial map[string]*Provider, size int) sortedMasquerades {
func (f *fronted) updateConfig(pool *x509.CertPool, providers map[string]*Provider, defaultProviderID string) {
// Make copies just to avoid any concurrency issues with access that may be happening on the
// caller side.
log.Debug("Updating fronted configuration")
providersCopy := copyProviders(providers)
f.frontedMu.Lock()
defer f.frontedMu.Unlock()
Expand Down

0 comments on commit 008e810

Please sign in to comment.