summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-10 11:16:45 -0700
committerBeth Griggs <Bethany.Griggs@uk.ibm.com>2018-10-17 00:07:24 +0100
commitf2f66b4cfb54264480ff5212a46203f992803927 (patch)
treecdcc790574636273e23dda98283aefb87060cb03 /lib
parent7ea08eedaca67f39e9f6eb9ef33ae533400140eb (diff)
downloadnode-new-f2f66b4cfb54264480ff5212a46203f992803927.tar.gz
http2: remove `streamError` from docs
`streamError` was removed quite some time ago but the docs and code comments weren't updated. Fix that. Fixes: https://github.com/nodejs/node/issues/20211 Backport-PR-URL: https://github.com/nodejs/node/pull/22850 PR-URL: https://github.com/nodejs/node/pull/22246 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/http2/compat.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/internal/http2/compat.js b/lib/internal/http2/compat.js
index d0cfe94d48..173fa3429b 100644
--- a/lib/internal/http2/compat.js
+++ b/lib/internal/http2/compat.js
@@ -103,9 +103,7 @@ function onStreamError(error) {
//
// errors in compatibility mode are
// not forwarded to the request
- // and response objects. However,
- // they are forwarded to 'streamError'
- // on the server by Http2Stream
+ // and response objects.
}
function onRequestPause() {