• v0.1.1 87debe8465

    fix: is_closed reads curl_cffi's private _closed (no public closed attr)

    dsql released this 2026-06-29 05:10:25 +00:00 | 6 commits to main since this release

    CurlCffi.is_closed read getattr(session, 'closed', False), but curl_cffi tracks closed state only in the private _closed and exposes no public 'closed' property, so it always returned False. it now reads _closed, falling back to a public 'closed' if a future version adds one. TLSSession's own flag remains the primary signal; this is the best-effort backend check for out-of-band closes.

    Signed-off-by: disqualifier dev@disqualifier.me

    Downloads