diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 39d456fb75905f..8d07a0208807ba 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1891,7 +1891,7 @@ class Http2Stream extends Duplex { } // TODO(mcollina): remove usage of _*State properties - if (!this.writable) { + if (this._writableState.finished) { if (!this.readable && this.closed) { this.destroy(); return;