http2: remove `streamError` from docs · nodejs/node@fcca2f7 · GitHub
Skip to content

Commit fcca2f7

Browse files
jasnellrvagg
authored andcommitted
http2: remove streamError from docs
`streamError` was removed quite some time ago but the docs and code comments weren't updated. Fix that. Fixes: #20211 PR-URL: #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>
1 parent 1be6fb9 commit fcca2f7

3 files changed

Lines changed: 2 additions & 17 deletions

File tree

doc/api/http2.md

Lines changed: 0 additions & 12 deletions

lib/internal/http2/compat.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ function onStreamError(error) {
115115
//
116116
// errors in compatibility mode are
117117
// not forwarded to the request
118-
// and response objects. However,
119-
// they are forwarded to 'streamError'
120-
// on the server by Http2Stream
118+
// and response objects.
121119
}
122120

123121
function onRequestPause() {

test/parallel/test-http2-compat-serverresponse-destroy.js

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)