X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.c;h=7a28933b03e37be7f6f99ba6c1690992d7caab35;hb=d01985309a42186e0c3ac1e8dd6e2d4a094d30c9;hp=f7a0b8698f03012f2d8460532fcdb37504ea5649;hpb=e7d985254d2b3e64d665f118a4086680bcfe248e;p=m6w6%2Fext-http diff --git a/php_http.c b/php_http.c index f7a0b86..7a28933 100644 --- a/php_http.c +++ b/php_http.c @@ -117,14 +117,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() @@ -136,6 +128,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)