From: Michael Wallner Date: Thu, 12 Feb 2009 16:50:54 +0000 (+0000) Subject: MFB: Fixed Bug #15813 Requests not removed from multi stack when fatal errors... X-Git-Tag: RELEASE_1_7_0b1~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=cf3b4a2cccdae74a7d7581f247d327a42bfbe3b3;p=m6w6%2Fext-http MFB: Fixed Bug #15813 Requests not removed from multi stack when fatal errors occur --- diff --git a/http_request_pool_api.c b/http_request_pool_api.c index fcc015e..d1d76c3 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);