Detach attachments faster

This commit is contained in:
Jamie Cameron
2018-10-08 22:21:44 +00:00
parent 11acdaa66d
commit dc1160a07b

View File

@@ -55,7 +55,7 @@ if ($?) {
# Output the ZIP
print "Content-type: application/zip\n\n";
open(ZIP, $zip);
while(read(ZIP, $buf, 1024) > 0) {
while(read(ZIP, $buf, 32768) > 0) {
print $buf;
}
close(ZIP);