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

Max message size check inside FragmentCollectorRead::read_frame #100

Open
fanatid opened this issue Feb 3, 2025 · 0 comments
Open

Max message size check inside FragmentCollectorRead::read_frame #100

fanatid opened this issue Feb 3, 2025 · 0 comments

Comments

@fanatid
Copy link

fanatid commented Feb 3, 2025

Am I understanding correctly that FragmentCollectorRead doesn't limit the size of the message? Max message size is applied only during parsing frame header, i.e. to the payload in the frame but not inside FragmentCollectorRead::read_frame during accumulation.

if payload_len >= self.max_message_size {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant