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

Add a custom encoding for very large (>50mb) data #42

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

tweedegolf-marc
Copy link
Contributor

@tweedegolf-marc tweedegolf-marc commented Jul 24, 2024

Closing #40

This is achieved by a rather crude encoding which even discards identifier information; but it suffices for a PoC.

Note: this PR builds upon #41 (so that should be merged first), but can be reworked so it fits on current main without it if desired; however, since nested message unpacking involves an allocation+copy, having more than 50mb of data feels like it's a DDoS risk. The actual delta is in 6344a2e

@tweedegolf-marc tweedegolf-marc linked an issue Jul 29, 2024 that may be closed by this pull request
Signed-off-by: Marc Schoolderman <[email protected]>
@tweedegolf-marc tweedegolf-marc merged commit 1502071 into main Jul 30, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

Allow for larger data in TSP message
2 participants