Fixed Bug #15813 Requests not removed from multi stack when fatal errors occur
authorMichael Wallner <mike@php.net>
Thu, 12 Feb 2009 16:47:27 +0000 (16:47 +0000)
committerMichael Wallner <mike@php.net>
Thu, 12 Feb 2009 16:47:27 +0000 (16:47 +0000)
http_request_pool_api.c
package2.xml

index e5482b41da4778dc90661b82b11f59c01fd3f262..250783d912dd4c28ecc385f3a4d6ed7b651ccef8 100644 (file)
@@ -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);
index bc6ae290c990d5838afc3a3a39e060aea7d5e569..96fc86a089f647a9e4b4ec82375b5a13b7e006fa 100644 (file)
@@ -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)
 ]]></notes>
  <contents>
   <dir name="/">