diff options
author | 2023-10-09 23:56:48 -0300 | |
---|---|---|
committer | 2023-10-09 19:56:48 -0700 | |
commit | 6301778a589254e2c3c0d95f768fce303f528b03 (patch) | |
tree | 5f7dc87ebe3b4ac33bb8b842f4fc8ca096997311 /src/js/node | |
parent | 3667b93871470aaa018e59365b16d7cf6584a5f9 (diff) | |
download | bun-6301778a589254e2c3c0d95f768fce303f528b03.tar.gz bun-6301778a589254e2c3c0d95f768fce303f528b03.tar.zst bun-6301778a589254e2c3c0d95f768fce303f528b03.zip |
fix(AbortSignal/fetch) fix AbortSignal.timeout, fetch lock behavior and fetch errors (#6390)
* fix abort signal and fetch error
* fix fetch error and lock behavior
Diffstat (limited to 'src/js/node')
-rw-r--r-- | src/js/node/http.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/node/http.ts b/src/js/node/http.ts index 17dfc4040..5a7f1107d 100644 --- a/src/js/node/http.ts +++ b/src/js/node/http.ts @@ -662,7 +662,7 @@ class IncomingMessage extends Readable { if (this.#aborted) return; if (done) { this.push(null); - this.destroy(); + process.nextTick(destroyBodyStreamNT, this); break; } for (var v of value) { |