diff options
author | ZYSzys <zyszys98@gmail.com> | 2020-01-03 12:50:04 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2020-01-06 15:02:34 +0300 |
commit | b5a71a439dce1d38ba96d9a11f6de2ef18b5073d (patch) | |
tree | 6a69d3c89a71e0e9cfffcb0932b37de17e7f14bc /doc | |
parent | 20ecb5dcfb0ea28576c83ce015c36e517c754b0d (diff) |
http2: set default enableConnectProtocol to 0
PR-URL: https://github.com/nodejs/node/pull/31174
Refs: https://tools.ietf.org/html/rfc8441#section-9.1
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http2.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index c81f94a2781..42b0693bda2 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2413,7 +2413,7 @@ properties. header compression. The minimum allowed value is 0. The maximum allowed value is 2<sup>32</sup>-1. **Default:** `4,096 octets`. * `enablePush` {boolean} Specifies `true` if HTTP/2 Push Streams are to be - permitted on the `Http2Session` instances. + permitted on the `Http2Session` instances. **Default:** `true`. * `initialWindowSize` {number} Specifies the *senders* initial window size for stream-level flow control. The minimum allowed value is 0. The maximum allowed value is 2<sup>32</sup>-1. **Default:** `65,535 bytes`. @@ -2433,6 +2433,7 @@ properties. Protocol" defined by [RFC 8441][] is to be enabled. This setting is only meaningful if sent by the server. Once the `enableConnectProtocol` setting has been enabled for a given `Http2Session`, it cannot be disabled. + **Default:** `false`. All additional properties on the settings object are ignored. |