-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(grpc): the unary server interceptor was already set and may not b…
…e reset (#419) There can be only one interceptor set by `grpc.[With](Unary|Stream)Interceptor`, and a runtime error occurs if an interceptor is already defined and a second is attempted using the same API. Switch to using the chaining API, which appends to the existing list, and co-operates cleanly with the non-chained interceptor API. Also, adjust the gRPC test to verify adequate behavior occurs. Fixes #416
- Loading branch information
1 parent
9178229
commit bede505
Showing
5 changed files
with
45 additions
and
1,833 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.