X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.c;h=0b47165a3c1c319cbde7e8d42f998d1ed5a350e8;hp=e5456c4cfbb4151fe08e7528f8fe52bba8e13b1c;hb=dedad9f35cbeaee56e7cca145e378cc6548198e3;hpb=e1d6150adb9ce5d3ff7c2e464d3eca06cd968631 diff --git a/php_http.c b/php_http.c index e5456c4..0b47165 100644 --- a/php_http.c +++ b/php_http.c @@ -119,12 +119,6 @@ zend_php_http_globals *php_http_globals(void) } #endif #endif -PHP_INI_MH(http_update_persistent_handle_ident) -{ - PHP_HTTP_G->persistent_handle.ident.h = zend_hash_func(new_value, PHP_HTTP_G->persistent_handle.ident.l = new_value_length+1); - return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); -} - PHP_INI_BEGIN() PHP_HTTP_INI_ENTRY("http.etag.mode", "md5", PHP_INI_ALL, OnUpdateString, env.etag_mode) PHP_HTTP_INI_ENTRY("http.request_datashare.cookie", "0", PHP_INI_SYSTEM, OnUpdateBool, request_datashare.cookie) @@ -132,7 +126,6 @@ PHP_INI_BEGIN() PHP_HTTP_INI_ENTRY("http.request_datashare.ssl", "0", PHP_INI_SYSTEM, OnUpdateBool, request_datashare.ssl) PHP_HTTP_INI_ENTRY("http.request_datashare.connect", "0", PHP_INI_SYSTEM, OnUpdateBool, request_datashare.connect) PHP_HTTP_INI_ENTRY("http.persistent_handle.limit", "-1", PHP_INI_SYSTEM, OnUpdateLong, persistent_handle.limit) - PHP_HTTP_INI_ENTRY("http.persistent_handle.ident", "GLOBAL", PHP_INI_ALL, http_update_persistent_handle_ident, persistent_handle.ident.s) PHP_INI_END() PHP_MINIT_FUNCTION(http) @@ -162,6 +155,7 @@ PHP_MINIT_FUNCTION(http) || SUCCESS != PHP_MINIT_CALL(http_request_pool) || SUCCESS != PHP_MINIT_CALL(http_url) || SUCCESS != PHP_MINIT_CALL(http_env) + || SUCCESS != PHP_MINIT_CALL(http_env_response) ) { return FAILURE; }