projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix sovereignty of clients when using events
[m6w6/ext-http]
/
php_http.c
diff --git
a/php_http.c
b/php_http.c
index 2101f0b70c278f1fdd9ad61125193739433c0f97..3200a16eb2dbea26991e2b44023bfa193eb4755e 100644
(file)
--- a/
php_http.c
+++ b/
php_http.c
@@
-187,9
+187,6
@@
PHP_RINIT_FUNCTION(http)
{
if (0
|| SUCCESS != PHP_RINIT_CALL(http_env)
{
if (0
|| SUCCESS != PHP_RINIT_CALL(http_env)
-#if PHP_HTTP_HAVE_CURL && PHP_HTTP_HAVE_EVENT
- || SUCCESS != PHP_RINIT_CALL(http_client_curl)
-#endif
) {
return FAILURE;
}
) {
return FAILURE;
}
@@
-200,9
+197,6
@@
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_client_curl)
-#endif
|| SUCCESS != PHP_RSHUTDOWN_CALL(http_env)
) {
return FAILURE;
|| SUCCESS != PHP_RSHUTDOWN_CALL(http_env)
) {
return FAILURE;