Deliver archives incrementally to avoid OOM errors, by not using smarty
author Chris Han
()
committer Chris Han
()
commit 97d1afcfaaa227923516fff6903ad7d83749696f
tree f5958d6399eb9da275f5e7f055e9c2ec5c8d8a5e
parent dc745ff4c29c423d9cc7199a1aefef0399a34c54
Deliver archives incrementally to avoid OOM errors, by not using smarty

gzip requires a nasty hack using a tempfile because gzip files have a
header and trailer, so they can't be compressed in chunks. And php's
gzopen and compress.zlib:// don't seem to work with anything that's not
a file, so you can't compress on the fly to something like php://temp or
php://output
include/controller/Controller_Snapshot.class.php
include/git/Archive.class.php
include/git/GitExe.class.php
comments