mirror of https://github.com/tstack/lnav
Don't try to read concatenated gzip streams
Don't try to continue reading the next stream of a concatenated gzip file. The next stream may be CRC noise or other garbage. Maybe in the future we should look for a gzip header in the following bytes of the stream and try to decode from there. But it's not clear that anyone ever uses this supposed gzip feature anyway. Let's just end the stream when we reach EOS. Also, if the stream fails to init, let's leave it closed instead of throwing an error no one is likely to catch. Log the error msg from zlib if one is provided.pull/785/head
parent
2a7db9b257
commit
1d127053e9
Loading…
Reference in New Issue