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/plugins/modules/files
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
..
archive.py [PR #6274/14b19afc backport][stable-5] archive: Generate crc32 over 16MiB chunks (#6325) 2023-04-13 05:09:24 +00:00
filesize.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) (#5068) 2022-08-05 13:17:19 +02:00
ini_file.py ini_file: fix lint error (#5307) (#5308) 2022-09-25 21:07:35 +02:00
iso_create.py fix the issue#5275: iso_create doesn't add folders (#5468) (#5487) 2022-11-07 07:28:53 +01:00
iso_customize.py Fix non-matching defaults. (#5452) (#5453) 2022-11-01 19:45:37 +01:00
iso_extract.py Multiple doc fix 3 (#5238) (#5245) 2022-09-06 08:05:16 +02:00
read_csv.py Adjust booleans in misc modules. (#5160) (#5174) 2022-08-24 20:29:08 +02:00
sapcar_extract.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) (#5068) 2022-08-05 13:17:19 +02:00
xattr.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) (#5068) 2022-08-05 13:17:19 +02:00
xml.py [PR #5808/6ec04973 backport][stable-5] xml children module parameter does not exist (#5838) 2023-01-14 18:34:45 +01:00