From f68aa876340b77da2067c8091d6bbb5ac71fb5f4 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 12 Feb 2009 16:47:27 +0000 Subject: [PATCH] Fixed Bug #15813 Requests not removed from multi stack when fatal errors occur --- http_request_pool_api.c | 2 ++ package2.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/http_request_pool_api.c b/http_request_pool_api.c index e5482b4..250783d 100644 --- a/http_request_pool_api.c +++ b/http_request_pool_api.c @@ -301,6 +301,8 @@ PHP_HTTP_API void _http_request_pool_dtor(http_request_pool *pool) efree(pool->timeout); #endif + http_request_pool_detach_all(pool); + pool->unfinished = 0; zend_llist_clean(&pool->finished); zend_llist_clean(&pool->handles); diff --git a/package2.xml b/package2.xml index bc6ae29..96fc86a 100644 --- a/package2.xml +++ b/package2.xml @@ -43,6 +43,8 @@ support. Parallel requests are available for PHP 5 and greater. * Fixed bug #15497 (HttpInflateStream::finish segfault) * Fixed bug #15499 (HttpRequest::addHeaders segfault) * Fixed bug #15509 (HttpMessage::rewind memory leaks) +* Fixed bug #15800 (Double free when zval is separated in convert_to_*) +* Fixed bug #15813 (Requests not removed from multi stack when fatal errors occur with fcgi) ]]> -- 2.30.2