Provider lifecycle evidence and transferable cancellation authority.
Create a handle before connecting and pass {handle, lease} under
ex_ssl: [lifecycle: ...]. A successful cancel accepts retirement; only a
confirmed await receipt establishes local resource cleanup. Control deadlines
are finite absolute monotonic milliseconds. Handles contain no cancellation
authority and remain readable after the provider exits.
Summary
Functions
Reads authenticated fatal setup-phase evidence separately from resource cleanup.
Observes exact live resource counts within one finite absolute deadline.
Functions
@spec setup_failure(SSL.Lifecycle.Handle.t()) ::
{:ok, %{phase: :tls_setup}} | :unknown
Reads authenticated fatal setup-phase evidence separately from resource cleanup.
A proven result means the original Connection accepted ServerHello and committed
a fatal setup failure within its original deadline. The fixed result survives
provider exit. Missing or uncommitted evidence returns :unknown; cancellation,
timeout, and a successful handshake alone do not establish this phase.
Use await/2 separately to establish local resource cleanup.
Observes exact live resource counts within one finite absolute deadline.