Not so much a bug, but something that is very related to 1.5
Chris and I were discussing upload speed for chunked (html5) upload and where there might be options for improvement. I looked at http 1.1 keep_alive this week and didn't really see a difference in with or without. Chris suggested to look at the bit where the chunks are actually written to the temp file.
Around line 247 in www/fs_upload.php there's this code:
while( $data = fread( $fd, 1000000 ) ) file_put_contents( $config["site_filestore"].sanitizeFilename($tempFilename).checkFileSize($uploadfolder.$tempFilename)."tmp", $data ) or die("Error");
It effectively "chunks the chunk". It looked like changing that line to:
file_put_contents( $config["site_filestore"].sanitizeFilename($tempFilename), $fd, FILE_APPEND ) or die("Error");
made for an interesting performance difference. Chris will look at whether there was a good reason to use the while loop.
No file chosen
You have an empty file field. Please select or remove it.
Add people from your team or external to follow ticket activity
Followers will receive email updates about new ticket activity or emails sent to firstname.lastname@example.org