[drupal-devel] [bug] buffering not stopped after buffer done with

killes drupal-devel at drupal.org
Mon Apr 4 13:19:49 UTC 2005


Issue status update for http://drupal.org/node/19933

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
 Priority:     normal
 Assigned to:  willmoy
 Reported by:  willmoy
 Updated by:   killes at www.drop.org
 Status:       patch

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


killes at www.drop.org



Previous comments:
------------------------------------------------------------------------

April 3, 2005 - 23:41 : willmoy

Attachment: http://drupal.org/files/issues/bootstrap.inc_1.patch (547 bytes)

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)





More information about the drupal-devel mailing list