Project

General

Profile

Actions

Bug #41718

closed

improve (jumpurl) download of large files

Added by till busch over 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2012-10-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

when downloading large files (using jumpurl) php dies:

Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 266393601 bytes) in typo3/sysext/cms/tslib/class.tslib_fe.php on line 2652

this can be improved by adding ob_end_flush() before readfile() in class.tslib_fe.php.

additionally i propose adding a Content-Length header (see the diff).


Files

jumpurl.diff (652 Bytes) jumpurl.diff till busch, 2012-10-08 14:52
Actions

Also available in: Atom PDF