Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make TokenVerifier#call safely reentrant
In a multi-threaded app, two threads might update `@request` before either thread is able to evaluate `verified_request?`. In order to retain backward-compatibility, this is fixed by using `dup` and then calling the original implementation on that copy.
- Loading branch information