- new output control code

# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
This commit is contained in:
Michael Wallner 2006-06-02 19:51:43 +00:00
parent 653007cea0
commit 4ce0141713
42 changed files with 2544 additions and 1592 deletions

View file

@ -93,7 +93,7 @@ PHP_FUNCTION(virtual)
}
/* Flush everything. */
php_end_ob_buffers(1 TSRMLS_CC);
php_output_end_all();
php_header(TSRMLS_C);
/* Ensure that the ap_r* layer for the main request is flushed, to