ipfs / ipfs/boxo

[ipfs/go-bitswap] Return an error if WithTargetMessageSize is too large

Open
#69 2 comments 0 reactions 0 assignees View on GitHub
need/triage
Dominant language
Go
Stars
316
Forks
163
Avg merge
4d 12h
Merged PRs (30d)
8

Description

It should be less than 2MiB (ideally less than 1MiB). Messages over 4MiB will be rejected by the remote endpoint per protocol.

The tricky part here is that there's no good way to return an error from this constructor, so this change will require a bit of a refactor.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.