From 211914a59c4b9344c8668c48ee4102114585670a Mon Sep 17 00:00:00 2001 From: tsctx <91457664+tsctx@users.noreply.github.com> Date: Tue, 7 May 2024 19:18:13 +0900 Subject: [PATCH] fix: pass abort function --- lib/dispatcher/client-h2.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dispatcher/client-h2.js b/lib/dispatcher/client-h2.js index cd63bcda2f2..c78fe602c48 100644 --- a/lib/dispatcher/client-h2.js +++ b/lib/dispatcher/client-h2.js @@ -524,6 +524,7 @@ function writeH2 (client, request) { } } else if (util.isStream(body)) { writeStream({ + abort, body, client, request, @@ -535,6 +536,7 @@ function writeH2 (client, request) { }) } else if (util.isIterable(body)) { writeIterable({ + abort, body, client, request,