The brigade seems to end up in a messed up state if something fails
in shutdown, so we clean it up.
This commit is contained in:
Stanislav Malyshev 2018-07-28 22:16:29 -07:00
parent 1ba3314335
commit 23b057742e

View file

@ -678,6 +678,7 @@ zend_first_try {
if (!parent_req) {
php_apache_request_dtor(r TSRMLS_CC);
ctx->request_processed = 1;
apr_brigade_cleanup(brigade);
bucket = apr_bucket_eos_create(r->connection->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(brigade, bucket);