From dc1160a07b115dc4b3862d3a7f3ecaadfb1939d5 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 8 Oct 2018 22:21:44 +0000 Subject: [PATCH] Detach attachments faster --- mailboxes/detachall.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailboxes/detachall.cgi b/mailboxes/detachall.cgi index d8ec841d8..d0b78df8b 100755 --- a/mailboxes/detachall.cgi +++ b/mailboxes/detachall.cgi @@ -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);