summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-08-10 11:05:57 -0700
committerJames M Snell <jasnell@gmail.com>2018-08-13 11:15:50 -0700
commit78584b64d88c0567c46e3cf7bae42aa73927df40 (patch)
tree41642ed72a76e5a271081fbd4ee178bf394fa913 /doc/api/http2.md
parentf6eab1acf21186a4cbc8d4537d00293326dfa2a1 (diff)
downloadandroid-node-v8-78584b64d88c0567c46e3cf7bae42aa73927df40.tar.gz
android-node-v8-78584b64d88c0567c46e3cf7bae42aa73927df40.tar.bz2
android-node-v8-78584b64d88c0567c46e3cf7bae42aa73927df40.zip
http2: explicitly disallow nested push streams
Fixes: https://github.com/nodejs/node/issues/19095 PR-URL: https://github.com/nodejs/node/pull/22245 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 4d56b61839..05b5ff7718 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1256,6 +1256,9 @@ Setting the weight of a push stream is not allowed in the `HEADERS` frame. Pass
a `weight` value to `http2stream.priority` with the `silent` option set to
`true` to enable server-side bandwidth balancing between concurrent streams.
+Calling `http2stream.pushStream()` from within a pushed stream is not permitted
+and will throw an error.
+
#### http2stream.respond([headers[, options]])
<!-- YAML
added: v8.4.0