Closed
Description
- Version: v16.0.0-pre
- Platform: Linux 5.8.0-38-generic The binary and long term compatibility with node #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem: zlib.brotliCompressSync
What steps will reproduce the bug?
Setup a node instance,
» node
and run the following javascript code.
zlib = require('zlib');zlib.brotliCompressSync('',{flush:3,finishFlush:4});
Then the node instance stuck and has no response even with "Ctl-D".
How often does it reproduce? Is there a required condition?
This can be always triggered following the steps above.
What is the expected behavior?
Don't cause any no response.
What do you see instead?
» node
Welcome to Node.js v16.0.0-pre.
Type ".help" for more information.
> zlib = require('zlib');zlib.brotliCompressSync('',{flush:3,finishFlush:4});
^C^C^C^C