When visiting a page which is being buffered so it can be cached, the output buffer is not flushed when buffering is done with (i.e. when the cache is saved, before hook_exit is invoked). The page is not returned to the client until after hook_exit.

Adding ob_end_flush solves that and maintains php 4.* compatibility. (Most ob_* functions came in php 4.2)

CommentFileSizeAuthor
bootstrap.inc_1.patch547 byteswillmoy

Comments

killes@www.drop.org’s picture

+1 ob_end_flush() is listed as available in all php 4.x versions.

dries’s picture

Committed to HEAD. Thanks.

Anonymous’s picture