ipfs / ipfs/helia-http-gateway

Backpressure is ignored while writing responses

Open
#113 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
18
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The return value of `reply.raw.write` is ignored so there's no way to react to backpressure.

https://github.com/ipfs/helia-http-gateway/pull/63/files#r1552002067

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the response-writing path that calls `reply.raw.write`, then inspect the linked pull request discussion for the intended backpressure handling. Done means the write return value is handled so response streaming can react when backpressure occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.