diff options
author | Zeev Suraski <zeev@php.net> | 2001-03-31 22:53:19 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-03-31 22:53:19 +0000 |
commit | b865380edbbd3bbafc51e55708d2794d739c3f69 (patch) | |
tree | 4a9dde361e5cba08f98e7352e630c6edac3ad694 /main | |
parent | 8f7d387f729b0a8ef294a5f9ea724d24f8f3b534 (diff) | |
download | php-git-b865380edbbd3bbafc51e55708d2794d739c3f69.tar.gz |
Fix headers handling with output buffering
Diffstat (limited to 'main')
-rw-r--r-- | main/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/output.c b/main/output.c index f7f0e7cbc8..dd9199cc7f 100644 --- a/main/output.c +++ b/main/output.c @@ -447,6 +447,7 @@ static int php_ub_body_write(const char *str, uint str_length) OLS_FETCH(); if (SG(request_info).headers_only) { + php_header(); zend_bailout(); } if (php_header()) { |