Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ttrpc: add a message length check before send #119

Closed
wants to merge 1 commit into from

Conversation

cosmoer
Copy link
Contributor

@cosmoer cosmoer commented May 26, 2022

In channel.go:recv() function, may be recv a invalid message header,
while the mh.Length value is an unusually large value, a large amount of data will be received and discarded.(But it may not actually send that much data.)
So,ttrpc server will discard all RPC requests, it wasn't what we were hoping for.

Signed-off-by: Qian Zhang [email protected]

@klihub
Copy link
Member

klihub commented Sep 27, 2024

Closing, PR #171 merged with implementation for sender-side reject.

@klihub klihub closed this Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants