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

Gossip max_message_size does not account for overhead #2833

Open
link2xt opened this issue Oct 24, 2024 · 0 comments
Open

Gossip max_message_size does not account for overhead #2833

link2xt opened this issue Oct 24, 2024 · 0 comments

Comments

@link2xt
Copy link
Contributor

link2xt commented Oct 24, 2024

I have set max_message_size to 128 * 1024, but was only able to send 128 * 1024 - 90 bytes of payload.

Doesn't the setting introduced in #2340 control the maximum payload size?

As a workaround I am going to test that I can send 128 * 1000 while setting the limit to 128 * 1024, but this does not seem very robust: deltachat/deltachat-core-rust#6105
Is there any upper limit on the overhead?

Ideally the setting should control the size of the payload and iroh should add maximum overhead size internall IMO.

@ramfox ramfox moved this to 📋 Backlog in iroh Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant