ob_flush();
flush();
// Once the client receives this response, it can disconnect
+ set_error_handler( function ( $errno, $errstr ) {
+ if ( strpos( $errstr, 'Cannot modify header information' ) !== false ) {
+ return true; // bug T115413
+ }
+ // Delegate unhandled errors to the default handlers
+ return false;
+ } );
}
// Do all of the specified tasks...