From: Ilia Alshanetsky Date: Thu, 2 Oct 2003 03:24:36 +0000 (+0000) Subject: Fixed bug #25701 (On flush() set headers_sent in apache2handler) X-Git-Tag: RELEASE_1_3b2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffb57ad555a68b31e8b701c97022f25cb0d2f7b9;p=php Fixed bug #25701 (On flush() set headers_sent in apache2handler) --- 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);