Skip to content

Commit

Permalink
fix(fetch): pause stream if data is received before headers in HTTP/2
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoaga committed Mar 22, 2024
1 parent 8fce214 commit cd2eaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/fetch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@ async function httpNetworkFetch (

// 4. See pullAlgorithm...

return this.body.push(bytes)
return this.body ? this.body.push(bytes) : false
},

onComplete () {
Expand Down

0 comments on commit cd2eaf4

Please sign in to comment.