doc: guard against md list parsing edge case

PR-URL: https://github.com/nodejs/node/pull/19647
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Chen Gang <gangc.cxy@foxmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Vse Mozhet Byt 2018-03-28 06:02:50 +03:00
parent bc690e9ef5
commit 7e07687230

View File

@ -2065,8 +2065,8 @@ properties.
* `maxConcurrentStreams` {number} Specifies the maximum number of concurrent * `maxConcurrentStreams` {number} Specifies the maximum number of concurrent
streams permitted on an `Http2Session`. There is no default value which streams permitted on an `Http2Session`. There is no default value which
implies, at least theoretically, 2<sup>31</sup>-1 streams may be open implies, at least theoretically, 2<sup>31</sup>-1 streams may be open
concurrently at any given time in an `Http2Session`. The minimum value is concurrently at any given time in an `Http2Session`. The minimum value
0. The maximum allowed value is 2<sup>31</sup>-1. is 0. The maximum allowed value is 2<sup>31</sup>-1.
* `maxHeaderListSize` {number} Specifies the maximum size (uncompressed octets) * `maxHeaderListSize` {number} Specifies the maximum size (uncompressed octets)
of header list that will be accepted. The minimum allowed value is 0. The of header list that will be accepted. The minimum allowed value is 0. The
maximum allowed value is 2<sup>32</sup>-1. **Default:** 65535. maximum allowed value is 2<sup>32</sup>-1. **Default:** 65535.