-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ttrpc: Block sending of oversize messages
When trying to send a message that is bigger than the max message length the send function will return an GRPC error 8 (RESOURCE_EXHAUSTED). It will also close the connection so that the read function discards the unused message. Signed-off-by: Alessio Cantillo <cantillo.trd@gmail.com>
- Loading branch information
Showing
2 changed files
with
17 additions
and
17 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
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