You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dispose the ACME client and signer when context creation fails (#1222)
* Dispose the ACME client and signer when context creation fails
CreateClientCoreAsync built an AcmeClient, which owns an HttpClient, before
fetching the directory and creating the account. The context is only assigned
to the cached field on success, so any failure in between left the client and
its signer unreachable and undisposed. Against a persistently failing ACME
endpoint this accumulated one HttpClient per retry for the life of the worker.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* Match AcmeClientContext dispose order on the failure path
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
0 commit comments