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

truncation support #53

Open
kortemik opened this issue Jan 17, 2024 · 0 comments
Open

truncation support #53

kortemik opened this issue Jan 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kortemik
Copy link
Member

Description
currently rlp_03 accepts records of any size, however there may be cases where limiting the maximum payload size is preferred. These may be such as clients sending accidentally (or deliberately) large relp frames and these reserve quite much memory on the processing side.

Use case or motivation behind the feature request
Support configurable limit for payload truncation. RelpParser would store up-to-the-limit amount of data and then process the rest but not store. Truncated frames should be marked as such and the total size before truncation should be made available.

Related issues

Additional context

@kortemik kortemik added the enhancement New feature or request label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant