X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.c;h=d430e1f13538fce89cfb75a8005e18a0c5e6d6ad;hp=bd7baff1078fffbad0a4cb5bd1b3e7be73b6c497;hb=a4397be0e142429d2877b9e8db862f6f9aff2297;hpb=333ffe4376d543204387d3cbd8e17f4a675cf3e5 diff --git a/php_http.c b/php_http.c index bd7baff..d430e1f 100644 --- a/php_http.c +++ b/php_http.c @@ -113,14 +113,6 @@ static inline void php_http_globals_free(zend_php_http_globals *G TSRMLS_DC) } #endif -#if ZTS && PHP_DEBUG && !HAVE_GCOV -zend_php_http_globals *php_http_globals(void) -{ - TSRMLS_FETCH(); - return PHP_HTTP_G; -} -#endif - PHP_INI_BEGIN() STD_PHP_INI_ENTRY("http.etag.mode", "crc32b", PHP_INI_ALL, OnUpdateString, env.etag_mode, zend_php_http_globals, php_http_globals) PHP_INI_END() @@ -132,6 +124,7 @@ PHP_MINIT_FUNCTION(http) REGISTER_INI_ENTRIES(); if (0 + || SUCCESS != PHP_MINIT_CALL(http_object) || SUCCESS != PHP_MINIT_CALL(http_exception) || SUCCESS != PHP_MINIT_CALL(http_cookie) || SUCCESS != PHP_MINIT_CALL(http_encoding)