summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-10-02 03:24:36 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-10-02 03:24:36 +0000
commitffb57ad555a68b31e8b701c97022f25cb0d2f7b9 (patch)
tree1ba40634c57be09565d44ea90fa021490064d071
parent8ba1bcb252d638b347dc4a875cb07ed41a389078 (diff)
downloadphp-git-ffb57ad555a68b31e8b701c97022f25cb0d2f7b9.tar.gz
Fixed bug #25701 (On flush() set headers_sent in apache2handler)
-rw-r--r--sapi/apache2handler/sapi_apache2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index ae9727700d..b008fa2137 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -257,6 +257,7 @@ php_apache_sapi_flush(void *server_context)
brigade = ctx->brigade;
r->status = SG(sapi_headers).http_response_code;
+ SG(headers_sent) = 1;
/* Send a flush bucket down the filter chain. */
bucket = apr_bucket_flush_create(r->connection->bucket_alloc);