fix(deps): update module github.com/ipfs/boxo to v0.39.0#16
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update module github.com/ipfs/boxo to v0.39.0#16renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.38.0→v0.39.0Release Notes
ipfs/boxo (github.com/ipfs/boxo)
v0.39.0Compare Source
Added
gateway:Config.MaxDeserializedResponseSizeallows setting a maximum file/directory size for deserialized gateway responses. Content exceeding this limit returns410 Gone, directing users to run their own IPFS node. Trustless response formats (application/vnd.ipld.raw,application/vnd.ipld.car) are not affected. The size is read from the UnixFS root block, so no extra block fetches are needed for the check. #1138gateway:Config.MaxUnixFSDAGResponseSizeallows setting a maximum content size applied to all response formats (deserialized, raw blocks, CAR, TAR). Content exceeding this limit returns410 Gone. For most handlers the check reuses size information already available in the request path; for CAR responses a lightweightHeadcall is made only when the limit is configured. #1138Changed
bitswap/server: the default peer comparator now schedules peers fairly. A peer that has never been served, or has waited longer than 10s, outranks non-starved peers. Pending counts cap at 16 for ordering purposes, so peers with small wantlists no longer wait behind peers with large ones. The final tiebreak uses a per-process salted hash of peer.ID, so no peer can craft an ID that permanently outranks everyone. Engines built withWithTaskComparatorkeep their existing behavior. #1141go-libp2p-kad-dhtv0.39.1Fixed
bitswap/network/bsnet:SendMessageandhandleNewStreamnow close streams in a background goroutine. Previously,stream.Closecould hold the caller for up toDefaultNegotiationTimeout(10s) whilelazyClientConn.Closewaited for the remote peer to complete the multistream handshake. This saturated the bitswapTaskWorkerCountpool when peers were unresponsive and stopped bitswap from serving blocks to other peers. As a side effect,SendMessageno longer returns errors fromstream.Close; close failures are logged at Debug. #1142bitswap/server: a peer with a single pending want no longer waits behind peers with large wantlists. #1141pinner/dspinner:RecursiveKeysandDirectKeysnow snapshot the pin index under the read lock and release it before emitting pins, so a slow consumer (e.g. the reprovider draining the channel at DHT speed underProvide.Strategy=pinned*) can no longer starvePin/Unpin/Flushwriters. #1140Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.