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

updated msgio #406

Merged
merged 3 commits into from
Dec 7, 2014
Merged

updated msgio #406

merged 3 commits into from
Dec 7, 2014

Conversation

jbenet
Copy link
Member

@jbenet jbenet commented Dec 6, 2014

this PR updates msgio. See #404

With the new msgio, we no longer need to bound message sizes for
the sake of buffers. MaxMessageSize should remain though in order
to prevent streaming of huge things. In general, messages shouldn't
be above one MB. This max is now set to 4MB.

If a block happens to be larger, we should split it up.
@jbenet jbenet added the status/in-progress In progress label Dec 6, 2014
@jbenet
Copy link
Member Author

jbenet commented Dec 6, 2014

See also: jbenet/go-msgio@42bfa8c^...8361f0f

@whyrusleeping
Copy link
Member

LGTM

jbenet added a commit that referenced this pull request Dec 7, 2014
@jbenet jbenet merged commit 59c1ab2 into master Dec 7, 2014
@jbenet jbenet removed the status/in-progress In progress label Dec 7, 2014
@jbenet jbenet deleted the new-msgio branch December 7, 2014 00:20
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.

2 participants