Skip to content

Commit c550173

Browse files
committed
fix(oauth): keep the challenged request's login on its own clock
An unauthenticated request holds context.lock until that 401 login finishes, so a peer waits on the lock instead of starting a second login. A request that already has a token still yields outside the lock.
1 parent aabc009 commit c550173

2 files changed

Lines changed: 242 additions & 182 deletions

File tree

0 commit comments

Comments
 (0)