projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
change array_list API
[m6w6/ext-http]
/
php_http.c
diff --git
a/php_http.c
b/php_http.c
index 4eb0f5e9873817886702bae58603efe95932998e..06ec91520c2874c08b31afd661cb15128f83a1df 100644
(file)
--- a/
php_http.c
+++ b/
php_http.c
@@
-177,6
+177,7
@@
PHP_MSHUTDOWN_FUNCTION(http)
if (0
|| SUCCESS != PHP_MSHUTDOWN_CALL(http_message)
#if PHP_HTTP_HAVE_CURL
if (0
|| SUCCESS != PHP_MSHUTDOWN_CALL(http_message)
#if PHP_HTTP_HAVE_CURL
+ || SUCCESS != PHP_MSHUTDOWN_CALL(http_curl_client)
|| SUCCESS != PHP_MSHUTDOWN_CALL(http_curl)
#endif
|| SUCCESS != PHP_MSHUTDOWN_CALL(http_persistent_handle)
|| SUCCESS != PHP_MSHUTDOWN_CALL(http_curl)
#endif
|| SUCCESS != PHP_MSHUTDOWN_CALL(http_persistent_handle)
@@
-205,6
+206,9
@@
PHP_RINIT_FUNCTION(http)
PHP_RSHUTDOWN_FUNCTION(http)
{
if (0
PHP_RSHUTDOWN_FUNCTION(http)
{
if (0
+#if PHP_HTTP_HAVE_CURL && PHP_HTTP_HAVE_EVENT
+ || SUCCESS != PHP_RSHUTDOWN_CALL(http_curl_client_pool)
+#endif
|| SUCCESS != PHP_RSHUTDOWN_CALL(http_env)
) {
return FAILURE;
|| SUCCESS != PHP_RSHUTDOWN_CALL(http_env)
) {
return FAILURE;