mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-30 14:21:34 +08:00
- Handle ctx.Done in AntigravityAuthenticator.Login waitForCallback select loops so context cancellation unblocks login immediately. - Use a non-blocking channel send in startAntigravityCallbackServer so duplicate or late OAuth callback requests do not block handlers or stall server shutdown. - Add regression tests covering duplicate OAuth callbacks and context cancellation during callback waiting. Closes: #8143