Skip to content

Commit

Permalink
doc: fix typo in zlib.md
Browse files Browse the repository at this point in the history
PR-URL: #16480
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
  • Loading branch information
lpinca authored and MylesBorins committed Oct 26, 2017
1 parent e0c4f0b commit b0fadbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/zlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ Returns a new [DeflateRaw][] object with an [options][].
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
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
is set to 8.

Expand Down

0 comments on commit b0fadbe

Please sign in to comment.