Comment #4 on issue 20884 by mdounin: gzip with multiple members aren't handled properly http://code.google.com/p/chromium/issues/detail?id=20884
I believe RFC 1952 assumes that it defines format of single compressed file, and it should be uncompressed to single file too. Even if original .gz file has multiple members inside (not even mentioning multiple deflate blocks and so on :)). Here is a relevant quote from gzip docs (available online at http://www.math.utah.edu/docs/info/gzip_5.html#SEC8): [cut here] 4 Advanced usage **************** Multiple compressed files can be concatenated. In this case, `gunzip' will extract all members at once. If one member is damaged, other members might still be recovered after removal of the damaged member. Better compression can be usually obtained if all members are decompressed and then recompressed in a single step. This is an example of concatenating `gzip' files: gzip -c file1 > foo.gz gzip -c file2 >> foo.gz Then gunzip -c foo is equivalent to cat file1 file2 ... If you wish to create a single archive file with multiple members so that members can later be extracted independently, use an archiver such as tar or zip. GNU tar supports the `-z' option to invoke gzip transparently. gzip is designed as a complement to tar, not as a replacement. [cut here] Note well: I don't think that it's high priority bug, as lack of support by browsers renders gzip archives with multiple members non-suitable for web. But it would be fine if the world will eventually change. Feel free to leave this issue as a reminder for me - I'll take a look once I have some spare time. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
