undici icon indicating copy to clipboard operation
undici copied to clipboard

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

Open ronag opened this issue 3 years ago • 1 comments

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.

ronag avatar Aug 30 '20 17:08 ronag

I think this can be closed now?

szmarczak avatar Jul 31 '21 16:07 szmarczak