Skip to content

Commit

Permalink
fix: pass abort function (nodejs#3212)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsctx authored May 7, 2024
1 parent 8dc6a7e commit ee64eb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dispatcher/client-h2.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ function writeH2 (client, request) {
}
} else if (util.isStream(body)) {
writeStream({
abort,
body,
client,
request,
Expand All @@ -535,6 +536,7 @@ function writeH2 (client, request) {
})
} else if (util.isIterable(body)) {
writeIterable({
abort,
body,
client,
request,
Expand Down

0 comments on commit ee64eb5

Please sign in to comment.