mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
979f88a90c
If the tar contains huge files, this causes memory spikes, even OutOfMemoryException. Instead, copy the file from the input to the output stream in chunks. For this purpose the sanitisation code was moved to XenCenterLib to avoid exposing the tar internals to the UI project. Also, made some minor improvements in error handling, clean up, and logging. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> |
||
---|---|---|
.. | ||
ArchiveFactory.cs | ||
ArchiveIterator.cs | ||
ArchiveWriter.cs | ||
TarArchiveIterator.cs | ||
TarArchiveWriter.cs | ||
TarSanitization.cs | ||
ZipArchiveIterator.cs | ||
ZipArchiveWriter.cs |