Files
godoxy-yusing/internal/autocert/provider.go
yusing c5b9bd38b7 fix(autocert): synchronize cert renewal and TLS handshake reads
Add per-provider obtain serialization and an RWMutex around shared
provider fields. GetCert and SNI matching use snapshot helpers; rebuild
the matcher atomically; GetExpiries returns a cloned map.

Clone Config.HTTPClient (including Transport) per lego.Config so parallel
providers do not mutate shared client state.

Document the concurrency model in README.
2026-04-19 14:55:14 +08:00

17 KiB