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

willmoy drupal-devel at drupal.org
Sun Apr 3 22:41:06 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:   willmoy
 Status:       patch
 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