Permalink
Browse files

doc: fix typo in zlib.md

PR-URL: #16480
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information...
lpinca authored and MylesBorins committed Oct 25, 2017
1 parent 03e488e commit 6fbef7f3505818a07116ceb7285bf3344e5bace4
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/zlib.md
View
@@ -462,7 +462,7 @@ Creates and returns a new [DeflateRaw][] object with the given [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.

0 comments on commit 6fbef7f

Please sign in to comment.