fix(http): use tokio oneshot channel for detecting abort (#1395)

* fix(http): properly handle aborting

closes #1376

* abort early in JS

* avoid using unnecessary mutexes

* fix lint

* update bundle

* simplify
This commit is contained in:
Amr Bashir
2024-07-08 20:31:29 +03:00
committed by GitHub
parent b07c092cd2
commit ac9a25cc12
6 changed files with 109 additions and 34 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"http": "patch"
"http-js": "patch"
---
Fix cancelling requests using `AbortSignal`.