the curl clients MSHUTDOWN was missing an raphf cleanup call
<email>mike@php.net</email>
<active>yes</active>
</lead>
- <date>2013-11-26</date>
+ <date>2013-12-10</date>
<version>
- <release>2.0.1</release>
+ <release>2.0.2</release>
<api>2.0.0</api>
</version>
<stability>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-* Fixed a bug with multiple ob_start(http\Env\Response) while replacing the body
-* Fixed build on Windows with libevent2
+* Fixed shutdown crash as shared extension
]]></notes>
<contents>
<dir name="/">
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_PECL_HTTP_VERSION "2.0.1"
+#define PHP_PECL_HTTP_VERSION "2.0.2"
extern zend_module_entry http_module_entry;
#define phpext_http_ptr &http_module_entry
PHP_MSHUTDOWN_FUNCTION(http_client_curl)
{
+ php_persistent_handles_cleanup(ZEND_STRL("http\\Client\\Curl"), NULL, 0 TSRMLS_CC);
+ php_persistent_handles_cleanup(ZEND_STRL("http\\Client\\Curl\\Request"), NULL, 0 TSRMLS_CC);
+
php_http_options_dtor(&php_http_curle_options);
+
return SUCCESS;
}