[TYPO3-core] Flushing output buffers before sending thumbnails

Philipp Gampe philipp.gampe at typo3.org
Tue Feb 12 18:50:45 CET 2013


Hi Oliver,

Oliver Hader wrote:

> One should find the "hint" at the beginning of the binary data of the
> image output - some warning or newlines/spaces...

Maybe check the lengh of the buffer with ob_get_length() and write a log 
entry if there is any content in the output buffer?

Or would that be too much overhead?

Is nobody would expect any text-output from that file, I agree that 
ob_clean() is fine here.

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!


More information about the TYPO3-team-core mailing list