[TYPO3-core] RFC: #11063: wrong content-length header breaks frontend in case of proxy-usage

georg kuehnberger georg at georg.org
Mon May 11 13:49:06 CEST 2009


resent, including attached diff;
--

This is a SVN patch request.

Type: bugfix

BT Reference: http://bugs.typo3.org/view.php?id=11063

Branches: trunk & elder

Problem:
class.tslib_fe.php, function processOutput() calculates the 
content-length wrongly in case of enabled debug. this leads proxies to 
not deliver the complete page, but cut it off in the middle of nowhere.

Solution:
In case debug is activated, TYPO3 should not send content-length at all; 
proxies will behave nice then and deliver the complete page.

Patch provided: Simply added two more conditions to class.tslib_fe.php, 
function processOutput()

Has patch: yes

regards georg


More information about the TYPO3-team-core mailing list