-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
need/analysisNeeds further analysis before proceedingNeeds further analysis before proceeding
Description
We should guard clients against attacks and set a default max block/chunk size at the retrieval layer.
Fixing
@helia/httpto prevent endless downloads sounds better approach - once the block is in the blockstore it's too late.It should check the content-length header before continuing the download of a block (if present) but it should also count the downloaded bytes in case the header is a lie.
Originally posted by @achingbrain in ipfs/helia-verified-fetch#188 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
need/analysisNeeds further analysis before proceedingNeeds further analysis before proceeding