Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-10 21:16:45 +0300
committerBeth Griggs <Bethany.Griggs@uk.ibm.com>2018-10-17 02:07:24 +0300
commitf2f66b4cfb54264480ff5212a46203f992803927 (patch)
treecdcc790574636273e23dda98283aefb87060cb03 /doc
parent7ea08eedaca67f39e9f6eb9ef33ae533400140eb (diff)
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 'doc')
-rw-r--r--doc/api/http2.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index dd201c9dd7d..85b3ba4363a 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1505,10 +1505,6 @@ added: v8.4.0
* Extends: {net.Server}
-In `Http2Server`, there are no `'clientError'` events as there are in
-HTTP1. However, there are `'sessionError'`, and `'streamError'` events for
-errors emitted on the socket, or from `Http2Session` or `Http2Stream` instances.
-
#### Event: 'checkContinue'
<!-- YAML
added: v8.5.0
@@ -1558,14 +1554,6 @@ added: v8.4.0
The `'sessionError'` event is emitted when an `'error'` event is emitted by
an `Http2Session` object associated with the `Http2Server`.
-#### Event: 'streamError'
-<!-- YAML
-added: v8.5.0
--->
-
-If a `ServerHttp2Stream` emits an `'error'` event, it will be forwarded here.
-The stream will already be destroyed when this event is triggered.
-
#### Event: 'stream'
<!-- YAML
added: v8.4.0