diff options
| author | Michael Wallner <mike@php.net> | 2006-06-02 19:51:43 +0000 |
|---|---|---|
| committer | Michael Wallner <mike@php.net> | 2006-06-02 19:51:43 +0000 |
| commit | 4ce0141713bfc14bfab06aaa9525b7d6a3339438 (patch) | |
| tree | 8468e9d21dc5c63fdd39bf356ee56cb4d16f0d50 /sapi/apache_hooks/mod_php5.c | |
| parent | 653007cea0bb87ccd39a746c7867eb10d907fd81 (diff) | |
| download | php-git-4ce0141713bfc14bfab06aaa9525b7d6a3339438.tar.gz | |
- 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
Diffstat (limited to 'sapi/apache_hooks/mod_php5.c')
| -rw-r--r-- | sapi/apache_hooks/mod_php5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache_hooks/mod_php5.c b/sapi/apache_hooks/mod_php5.c index c23dfc1d5c..558274d5da 100644 --- a/sapi/apache_hooks/mod_php5.c +++ b/sapi/apache_hooks/mod_php5.c @@ -434,7 +434,7 @@ static void php_apache_request_shutdown(void *dummy) { TSRMLS_FETCH(); AP(current_hook) = AP_CLEANUP; - php_output_set_status(0 TSRMLS_CC); + php_output_set_status(PHP_OUTPUT_DISABLED); SG(server_context) = NULL; /* The server context (request) is invalid by the time run_cleanups() is called */ if(SG(sapi_started)) { php_request_shutdown(dummy); |
