mytardis/mytardis — pull request #113 by crawley (2012-09-04 00:16:13+00:00)
Title: Accumulated fixes and enhancements related to archive downloads

Fix for bug that left the temp FS permanently full if the download archive is too big.

Fixes for a bug that created corrupted ZIP archives due to a race condition between the ZIP archive creator and the file streamer.

Added some code to estimate archive sizes, and restrict download sizes based on available space or configurable download limits.

Fixed a latent big involving file descriptor exhaustion if an archive has too many members.

Unit tests for some of the new functionality.