zsync2 icon indicating copy to clipboard operation
zsync2 copied to clipboard

Upgrade or remove vendored zlib?

Open lalten opened this issue 1 year ago • 1 comments

The vendored zlib which is used in zsync2 is based on zlib v1.2.1.1, which is now more than 20 years old. Any considerations to either get rid of it or to upgrade to a more recent version?

Here's a patch file I generated by diffing the original zsync's sources with the zlib release they're based on: https://github.com/lalten/zsync/blob/76ba13e254d93d9949feffe3e4171fc49e5be488/c/zlib/zlib_1211.patch

And here is the same patch rebased to the latest zlib, 1.3.1 https://github.com/lalten/zsync/blob/76ba13e254d93d9949feffe3e4171fc49e5be488/c/zlib/zlib_131.patch

lalten avatar Apr 08 '24 18:04 lalten

@TheAssassin wdyt?

probonopd avatar Apr 27 '24 06:04 probonopd