summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-23 10:38:31 -0700
committerJames M Snell <jasnell@gmail.com>2018-08-27 02:17:02 -0700
commitdd03706d62937d759bbd358fd122e46c2c769cb8 (patch)
tree831683532cc6e85b23ed2f9ed66aa1ead43dfdfe /doc
parent2eef0778344b00609760cf7fcc12508e10c27516 (diff)
downloadandroid-node-v8-dd03706d62937d759bbd358fd122e46c2c769cb8.tar.gz
android-node-v8-dd03706d62937d759bbd358fd122e46c2c769cb8.tar.bz2
android-node-v8-dd03706d62937d759bbd358fd122e46c2c769cb8.zip
http2: throw better error when accessing unbound socket proxy
Fixes: https://github.com/nodejs/node/issues/22268 PR-URL: https://github.com/nodejs/node/pull/22486 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 4757496fa6..a29dc5be72 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1033,6 +1033,12 @@ The `Http2Session` settings canceled.
An attempt was made to connect a `Http2Session` object to a `net.Socket` or
`tls.TLSSocket` that had already been bound to another `Http2Session` object.
+<a id="ERR_HTTP2_SOCKET_UNBOUND"></a>
+### ERR_HTTP2_SOCKET_UNBOUND
+
+An attempt was made to use the `socket` property of an `Http2Session` that
+has already been closed.
+
<a id="ERR_HTTP2_STATUS_101"></a>
### ERR_HTTP2_STATUS_101