You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compress a the data from continuous stream of logs for a certain period of time. At some point, I want the brotli CLI to stop compressing and write a clean/valid brotli-compressed file.
bash -c 'while true; do echo "some log line"; sleep 1; done'| brotli >logs.txt.br
# After some time, I send SIGINT via ctrl + c.# ^C# Once the `brotli` process has exited, I would expect to be able to read the compressed file. However, this is not possible:
brotli -d foo.txt.br | wc -l
# corrupt input [foo.txt.br]# 0
This also doesn't work with SIGQUIT, SIGTERM and SIGHUP.
The text was updated successfully, but these errors were encountered:
I'm trying to compress a the data from continuous stream of logs for a certain period of time. At some point, I want the
brotli
CLI to stop compressing and write a clean/valid brotli-compressed file.This also doesn't work with
SIGQUIT
,SIGTERM
andSIGHUP
.The text was updated successfully, but these errors were encountered: