summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-03-31 22:53:19 +0000
committerZeev Suraski <zeev@php.net>2001-03-31 22:53:19 +0000
commitb865380edbbd3bbafc51e55708d2794d739c3f69 (patch)
tree4a9dde361e5cba08f98e7352e630c6edac3ad694 /main
parent8f7d387f729b0a8ef294a5f9ea724d24f8f3b534 (diff)
downloadphp-git-b865380edbbd3bbafc51e55708d2794d739c3f69.tar.gz
Fix headers handling with output buffering
Diffstat (limited to 'main')
-rw-r--r--main/output.c1
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()) {