Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid an error allocation in the server stream handler (grpc#1970)
Motivation: Existential errors unconditionally allocate. In the server stream handler a promise is failed on tear down via an API which takes an existential error. This means the handler always allocates, even if the promise has been completed. Modifications: - Statically allocate the error as an existential Result: Fewer allocations
- Loading branch information