diff options
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 1295d1ceef..fde7fbb488 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -241,7 +241,9 @@ php_apache_sapi_flush(void *server_context) * then don't bother flushing. */ if (!server_context) return; - + + ctx->r->status = SG(sapi_headers).http_response_code; + f = ctx->f; /* Send a flush bucket down the filter chain. The current default |
