nodejs / nodejs/undici

Try to avoid accessing `Request.aborted` in `Client`

Open
#387 1 comment 0 reactions 1 assignee View on GitHub

@ronag is already working on this.

Since Aug 30, 2020.

enhancement
Dominant language
JavaScript
Stars
7.7k
Forks
880
Avg merge
2d 16h
Merged PRs (30d)
68

Description

Accessing Request.aborted should not be needed.

  • Remove unnecessary check before request.onUpgrade.
  • Remove unnecessary check after request.onConnect.
  • Find a more elegant solution for killing socket when head of pipeline is aborted.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.