Permalink
Browse files

Fix for bug #76582

The brigade seems to end up in a messed up state if something fails
in shutdown, so we clean it up.
  • Loading branch information...
smalyshev committed Jul 29, 2018
1 parent 1ba3314 commit 23b057742e3cf199612fa8050ae86cae675e214e
Showing with 1 addition and 0 deletions.
  1. +1 −0 sapi/apache2handler/sapi_apache2.c
@@ -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);

0 comments on commit 23b0577

Please sign in to comment.