Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect multiple RSA requesters from each other
If two ReactServerAgent requests are made to a given endpoint only one upstream http request is actually issued, and the result is provided to both requesters. Previously this result was passed by reference, so mutations by one requester interfered with the data for others. This patch provides a fresh deep copy to each requester. This has the unfortunate side effect of introducing a deep copy in the browser where we previously thought we could get away without one. It's a minor perf hit, but it's important for data integrity.
- Loading branch information