[TYPO3-core] RFC: #11063: wrong content-length header breaks frontend in case of proxy-usage
georg kuehnberger
georg at georg.org
Tue May 12 00:09:38 CEST 2009
Dmitry Dulepov wrote:
> Hi!
>
> georg kuehnberger wrote:
>> 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.
>
> This solution will work
Dmitry, thanks for your confirmation that this is a working bugfix;
I'd be glad to see it comitted for the upcomming release
> but there is a better one: create the header later (after the debug, at the end of index_ts.php). It will allow content-length header for any kind of pages, so this will not be necessary:
ACK, see also MASIs comment.
Looking forward that bugfix gets into 4.3
kind regards georg - proud of having submitted a working bugfix
More information about the TYPO3-team-core
mailing list