mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
doc: fix typo in zlib.md
PR-URL: https://github.com/nodejs/node/pull/16480 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
parent
5d9164c315
commit
f8e282e51c
|
|
@ -377,7 +377,7 @@ Returns a new [DeflateRaw][] object with an [options][].
|
||||||
is set to 8 for raw deflate streams. zlib does not have a working implementation
|
is set to 8 for raw deflate streams. zlib does not have a working implementation
|
||||||
of an 8-bit Window for raw deflate streams and would automatically set windowBit
|
of an 8-bit Window for raw deflate streams and would automatically set windowBit
|
||||||
to 9 if initially set to 8. Newer versions of zlib will throw an exception.
|
to 9 if initially set to 8. Newer versions of zlib will throw an exception.
|
||||||
This creates a potential DOS vector, and as such the behavior ahs been reverted
|
This creates a potential DOS vector, and as such the behavior has been reverted
|
||||||
in Node.js 8, 6, and 4. Node.js version 9 and higher will throw when windowBits
|
in Node.js 8, 6, and 4. Node.js version 9 and higher will throw when windowBits
|
||||||
is set to 8.
|
is set to 8.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user