xenadmin/XenCenterLib/Archive
Konstantina Chremmou 979f88a90c CA-322699: Do not use an intermediate MemoryStream when sanitising the files of a tar archive.
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>
2019-07-11 09:19:47 +01:00
..
ArchiveFactory.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
ArchiveIterator.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
ArchiveWriter.cs CA-322699: Do not use an intermediate MemoryStream when sanitising the files of a tar archive. 2019-07-11 09:19:47 +01:00
TarArchiveIterator.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
TarArchiveWriter.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
TarSanitization.cs CA-322699: Do not use an intermediate MemoryStream when sanitising the files of a tar archive. 2019-07-11 09:19:47 +01:00
ZipArchiveIterator.cs Simplified event declaration. 2019-07-11 09:19:47 +01:00
ZipArchiveWriter.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00