summaryrefslogtreecommitdiff
path: root/lib/internal/http2/compat.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/http2/compat.js')
-rw-r--r--lib/internal/http2/compat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/http2/compat.js b/lib/internal/http2/compat.js
index 9cf19250a8..2d6ed47d74 100644
--- a/lib/internal/http2/compat.js
+++ b/lib/internal/http2/compat.js
@@ -303,7 +303,7 @@ class Http2ServerRequest extends Readable {
get complete() {
return this[kAborted] ||
- this._readableState.ended ||
+ this.readableEnded ||
this[kState].closed ||
this[kStream].destroyed;
}