1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs
patchback[bot] 72b282fe85
[PR #6274/14b19afc backport][stable-5] archive: Generate crc32 over 16MiB chunks (#6325)
archive: Generate crc32 over 16MiB chunks (#6274)

* archive: Generate crc32 over 16MiB chunks

Running crc32 over the whole content of the compressed file potentially
requires a lot of RAM. The crc32 function in zlib allows for calculating
the checksum in chunks. This changes the code to calculate the checksum
over 16 MiB chunks instead. 16 MiB is the value also used by
shutil.copyfileobj().

* Update changelogs/fragments/6199-archive-generate-checksum-in-chunks.yml

Change the type of change to bugfix

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/6199-archive-generate-checksum-in-chunks.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 14b19afc9a)

Co-authored-by: Nils Meyer <nils@nm.cx>
2023-04-13 05:09:24 +00:00
..
fragments [PR #6274/14b19afc backport][stable-5] archive: Generate crc32 over 16MiB chunks (#6325) 2023-04-13 05:09:24 +00:00
.gitignore Add more default license and copyright notices (#5087) (#5094) 2022-08-08 14:06:21 +02:00
changelog.yaml Release 5.8.7. 2023-03-27 21:36:59 +02:00
changelog.yaml.license Make reuse conformant (#5138) (#5139) 2022-08-21 09:14:04 +02:00
config.yaml Add default license header to files which have no copyright or license header yet (#5074) (#5075) 2022-08-05 20:16:36 +02:00