Could it be that the compressed stream you are receiving is a sequence of self-contained compressed chunks of data? In which case, IO::Uncompress::Gunzip can detect end of compressed chunk and reset, see "An advanced tip" in https://www.perl.com/article/162/2015/3/27/Gzipping-data-directly-from-Perl/ (by brian d foy) re: MultiStream
On a side note, do infinite streams of ([g]zip) compressed data exist?
bw, bliako
In reply to Re: Uncompress streaming gzip on the fly in LWP::UserAgent/WWW::Mechanize
by bliako
in thread Solved: Uncompress streaming gzip on the fly in LWP::UserAgent/WWW::Mechanize
by Your Mother
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |