--- php-5.2.3/sapi/apache2handler/sapi_apache2.c.brigade +++ php-5.2.3/sapi/apache2handler/sapi_apache2.c @@ -634,6 +634,7 @@ if (!parent_req) { php_apache_request_dtor(r TSRMLS_CC); ctx->request_processed = 1; + brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); bucket = apr_bucket_eos_create(r->connection->bucket_alloc); APR_BRIGADE_INSERT_TAIL(brigade, bucket);