mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Increase buffer size (support for 1Gbps networks)
This commit is contained in:
@@ -26,7 +26,7 @@ print "Content-Disposition: attachment; filename=\"$name$ext\"\n";
|
||||
print "Content-Length: $size\n\n";
|
||||
open (FILE, "< $file") or die "can't open $file: $!";
|
||||
binmode FILE;
|
||||
local $/ = \102400;
|
||||
local $/ = \2048000;
|
||||
while (<FILE>) {
|
||||
print $_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user