We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ba496 commit 9b3a266Copy full SHA for 9b3a266
main/lib/stream.js
@@ -172,6 +172,7 @@ export class HttpWTStream {
172
if (this.writableclosed) {
173
return Promise.resolve()
174
}
175
+ this.writableclosed = true
176
this.objint.streamFinal()
177
this.parentobj.removeSendStream(
178
this.writable,
@@ -190,6 +191,7 @@ export class HttpWTStream {
190
191
resolve()
192
})
193
194
195
let code = 0
196
if (reason && reason.code) {
197
if (reason.code < 0) code = 0
0 commit comments