feat: enhance proxy functionality with verbose logging and support for additional Linux distributions
Build and Release / release (push) Successful in 1m44s

This commit is contained in:
2026-09-02 13:14:41 +07:00
parent 35a3b403ec
commit 64f0bd1e8f
8 changed files with 86 additions and 42 deletions
+5 -1
View File
@@ -24,7 +24,11 @@ func (cs *CertStorage) Fetch(hostname string, gen func() (*tls.Certificate, erro
}
cs.mtx.Lock()
cs.certs[hostname] = cert
if existing, ok := cs.certs[hostname]; ok {
cert = existing
} else {
cs.certs[hostname] = cert
}
cs.mtx.Unlock()
return cert, nil