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 PHP4 build
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 364710d5191e2f2d14bc8d85fe01d307a950ba8d..0118e6d1bb279a37733e994bbe592a4153c1c870 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-243,7
+243,7
@@
PHP_INI_MH(http_update_allowed_methods)
#ifdef HTTP_HAVE_PERSISTENT_HANDLES
PHP_INI_MH(http_update_persistent_handle_ident)
{
#ifdef HTTP_HAVE_PERSISTENT_HANDLES
PHP_INI_MH(http_update_persistent_handle_ident)
{
- HTTP_G->persistent.handles.ident.h = zend_
get_hash_value
(new_value, HTTP_G->persistent.handles.ident.l = new_value_length+1);
+ HTTP_G->persistent.handles.ident.h = zend_
hash_func
(new_value, HTTP_G->persistent.handles.ident.l = new_value_length+1);
return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
}
#endif
return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
}
#endif
@@
-300,7
+300,9
@@
PHP_MINIT_FUNCTION(http)
#ifdef HTTP_HAVE_CURL
# ifdef HTTP_HAVE_PERSISTENT_HANDLES
(SUCCESS != PHP_MINIT_CALL(http_persistent_handle)) ||
#ifdef HTTP_HAVE_CURL
# ifdef HTTP_HAVE_PERSISTENT_HANDLES
(SUCCESS != PHP_MINIT_CALL(http_persistent_handle)) ||
+# ifdef ZEND_ENGINE_2
(SUCCESS != PHP_MINIT_CALL(http_request_pool)) ||
(SUCCESS != PHP_MINIT_CALL(http_request_pool)) ||
+# endif
# endif
(SUCCESS != PHP_MINIT_CALL(http_request)) ||
# ifdef ZEND_ENGINE_2
# endif
(SUCCESS != PHP_MINIT_CALL(http_request)) ||
# ifdef ZEND_ENGINE_2