-
fix(auth): add bounded timeouts to Codex and Claude token refresh paths
发布于
2026-08-02 17:29:43 +00:00 - Introduce explicit per-refresh request timeouts in Codex and Claude OAuth token refresh logic.
- Ensure refresh flows use
context.WithTimeoutwithcontext.WithoutCancelto avoid inheriting caller cancellation and avoid hanging refresh calls. - Add a dedicated Claude TLS handshake timeout for utls transport creation via request context and enforce it by setting connection deadlines during handshake.
Closes: #4712
下载附件