From e63cc09bc645880722db5d1c822e1aa92a3736de Mon Sep 17 00:00:00 2001 From: snwy Date: Thu, 21 Nov 2024 19:23:51 -0800 Subject: [PATCH] manually destroy response now --- src/js/node/http.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/node/http.ts b/src/js/node/http.ts index 2e038df87d..2ab1751695 100644 --- a/src/js/node/http.ts +++ b/src/js/node/http.ts @@ -1666,6 +1666,7 @@ class ClientRequest extends OutgoingMessage { }) .finally(() => { this.#fetchRequest = null; + this.#res.destroy(); this[kClearTimeout](); emitCloseNT(this); });