From c1231f62c6f4ae58cc63bc3724f99d5fb207b83a Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 22 Nov 2013 09:55:49 +0000 Subject: [PATCH] 2.0.0 stable --- ThanksTo.txt | 1 + package.xml | 42 +++++++++++++++++++++--------------------- php_http.c | 4 ++-- php_http.h | 2 +- php_http_client_curl.c | 2 +- 5 files changed, 26 insertions(+), 25 deletions(-) diff --git a/ThanksTo.txt b/ThanksTo.txt index 48003f9..67c5b32 100644 --- a/ThanksTo.txt +++ b/ThanksTo.txt @@ -8,6 +8,7 @@ to implement, in alphabetical order: Ilia Alshanetsky (ilia at php dot net) Anatol Belski (ab at php dot net) Petr Czaderna (petr at hroch dot info) + Remi Collet (remi at php dot net) Benjamin Eberlei (kontakt at beberlei dot de) David James (james82 at gmail dot com) Thomas Landro Johnsen (thomas dot l dot johnsen at gmail dot com) diff --git a/package.xml b/package.xml index 5467a83..c12796c 100644 --- a/package.xml +++ b/package.xml @@ -19,8 +19,17 @@ means for negotiation of a client's preferred content type, language and charset, as well as a convenient way to send any arbitrary data with caching and resuming capabilities. -It provides powerful request functionality, if built with CURL -support. Parallel requests are available for PHP 5 and greater. +It provides powerful request functionality with support for +parallel requests. + +Documentation: +v1: http://php.net/http +v2: http://devel-m6w6.rhcloud.com/mdref/http + +Code Coverage: +v1: http://dev.iworks.at/ext-http/lcov_html/ext/http/ +v2: http://dev.iworks.at/ext-http/lcov/ext/http/ + ]]> Michael Wallner @@ -28,30 +37,26 @@ support. Parallel requests are available for PHP 5 and greater. mike@php.net yes - 2013-08-12 + 2013-11-22 - 2.0.0RC1 + 2.0.0 2.0.0 - beta - beta + stable + stable BSD, revised + @@ -240,13 +245,13 @@ http://dev.iworks.at/ext-http/lcov/ext/http/ raphf pecl.php.net - 0.1.0 + 1.0.0 raphf propro pecl.php.net - 0.1.0 + 1.0.0 propro @@ -273,11 +278,6 @@ http://dev.iworks.at/ext-http/lcov/ext/http/ name="with-http-libevent-dir" prompt="where to find libevent" default="/usr" /> - - - diff --git a/php_http.c b/php_http.c index 2ed94c8..4efec72 100644 --- a/php_http.c +++ b/php_http.c @@ -73,7 +73,7 @@ zend_module_entry http_module_entry = { PHP_RINIT(http), PHP_RSHUTDOWN(http), PHP_MINFO(http), - PHP_HTTP_EXT_VERSION, + PHP_PECL_HTTP_VERSION, STANDARD_MODULE_PROPERTIES }; @@ -217,7 +217,7 @@ PHP_MINFO_FUNCTION(http) php_info_print_table_start(); php_info_print_table_header(2, "HTTP Support", "enabled"); - php_info_print_table_row(2, "Extension Version", PHP_HTTP_EXT_VERSION); + php_info_print_table_row(2, "Extension Version", PHP_PECL_HTTP_VERSION); php_info_print_table_end(); php_info_print_table_start(); diff --git a/php_http.h b/php_http.h index 8e341ca..6daa204 100644 --- a/php_http.h +++ b/php_http.h @@ -13,7 +13,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_HTTP_EXT_VERSION "2.0.0dev" +#define PHP_PECL_HTTP_VERSION "2.0.0" extern zend_module_entry http_module_entry; #define phpext_http_ptr &http_module_entry diff --git a/php_http_client_curl.c b/php_http_client_curl.c index fbb950a..3200fa2 100644 --- a/php_http_client_curl.c +++ b/php_http_client_curl.c @@ -1089,7 +1089,7 @@ static void php_http_curle_options_init(php_http_options_t *registry TSRMLS_DC) /* useragent */ if ((opt = php_http_option_register(registry, ZEND_STRL("useragent"), CURLOPT_USERAGENT, IS_STRING))) { /* don't check strlen, to allow sending no useragent at all */ - ZVAL_STRING(&opt->defval, "PECL::HTTP/" PHP_HTTP_EXT_VERSION " (PHP/" PHP_VERSION ")", 0); + ZVAL_STRING(&opt->defval, "PECL::HTTP/" PHP_PECL_HTTP_VERSION " (PHP/" PHP_VERSION ")", 0); } /* resume */ -- 2.30.2