Skip to content

Commit 23b0577

Browse files
committed
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.
1 parent 1ba3314 commit 23b0577

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/apache2handler/sapi_apache2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ zend_first_try {
678678
if (!parent_req) {
679679
php_apache_request_dtor(r TSRMLS_CC);
680680
ctx->request_processed = 1;
681+
apr_brigade_cleanup(brigade);
681682
bucket = apr_bucket_eos_create(r->connection->bucket_alloc);
682683
APR_BRIGADE_INSERT_TAIL(brigade, bucket);
683684

0 commit comments

Comments
 (0)