From 798c57118c8f1b3de9b76ea1d6ad908c00c84583 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 10 Nov 2018 15:56:53 +0100 Subject: v4.2.7 --- PHPINFO | 2 +- REFLECTION | 31 +++++++++++++++++-------------- php-pecl-swoole4.spec | 10 +++++++--- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/PHPINFO b/PHPINFO index e8eb037..fb75700 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ swoole swoole support => enabled -Version => 4.2.6 +Version => 4.2.7 Author => Swoole Group[email: team@swoole.com] coroutine => enabled trace_log => enabled diff --git a/REFLECTION b/REFLECTION index 721c79a..2e5bb45 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #149 swoole version 4.2.6 ] { +Extension [ extension #149 swoole version 4.2.7 ] { - INI { Entry [ swoole.enable_coroutine ] @@ -24,7 +24,7 @@ Extension [ extension #149 swoole version 4.2.6 ] { } } - - Constants [221] { + - Constants [222] { Constant [ integer SWOOLE_BASE ] { 1 } Constant [ integer SWOOLE_PROCESS ] { 2 } Constant [ integer SWOOLE_IPC_UNSOCK ] { 1 } @@ -68,7 +68,7 @@ Extension [ extension #149 swoole version 4.2.6 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 4.2.6 } + Constant [ string SWOOLE_VERSION ] { 4.2.7 } Constant [ integer SWOOLE_ERROR_MALLOC_FAIL ] { 501 } Constant [ integer SWOOLE_ERROR_SYSTEM_CALL_FAIL ] { 502 } Constant [ integer SWOOLE_ERROR_PHP_FATAL_ERROR ] { 503 } @@ -191,6 +191,7 @@ Extension [ extension #149 swoole version 4.2.6 ] { Constant [ integer SWOOLE_HOOK_UDG ] { 64 } Constant [ integer SWOOLE_HOOK_SSL ] { 128 } Constant [ integer SWOOLE_HOOK_TLS ] { 256 } + Constant [ integer SWOOLE_HOOK_BLOCKING_FUNCTION ] { 512 } Constant [ integer SWOOLE_HOOK_ALL ] { 2147483647 } Constant [ integer SWOOLE_FILELOCK ] { 2 } Constant [ integer SWOOLE_MUTEX ] { 3 } @@ -1529,8 +1530,9 @@ Extension [ extension #149 swoole version 4.2.6 ] { Method [ public method recv ] { - - Parameters [1] { - Parameter #0 [ $timeout ] + - Parameters [2] { + Parameter #0 [ $length ] + Parameter #1 [ $timeout ] } } @@ -1688,10 +1690,11 @@ Extension [ extension #149 swoole version 4.2.6 ] { Method [ public method connect ] { - - Parameters [3] { + - Parameters [4] { Parameter #0 [ $host ] Parameter #1 [ $port ] Parameter #2 [ $timeout ] + Parameter #3 [ $sock_flag ] } } @@ -3580,6 +3583,14 @@ Extension [ extension #149 swoole version 4.2.6 ] { } } + Method [ static public method gethostbyname ] { + + - Parameters [2] { + Parameter #0 [ $domain_name ] + Parameter #1 [ $family ] + } + } + Method [ static public method set ] { - Parameters [1] { @@ -3665,14 +3676,6 @@ Extension [ extension #149 swoole version 4.2.6 ] { } } - Method [ static public method gethostbyname ] { - - - Parameters [2] { - Parameter #0 [ $domain_name ] - Parameter #1 [ $family ] - } - } - Method [ static public method getaddrinfo ] { - Parameters [5] { diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec index e934c89..72db5d7 100644 --- a/php-pecl-swoole4.spec +++ b/php-pecl-swoole4.spec @@ -35,7 +35,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}4 -Version: 4.2.6 +Version: 4.2.7 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is ASL 2.0 # Hiredis is BSD @@ -330,8 +330,9 @@ cd ../ZTS %files devel %doc %{pecl_testdir}/%{pecl_name} %doc %{pecl_docdir}/%{pecl_name}/examples -%doc %{pecl_docdir}/%{pecl_name}/include/readme -%doc %{pecl_docdir}/%{pecl_name}/thirdparty/hiredis +%doc %{pecl_docdir}/%{pecl_name}/include +%doc %{pecl_docdir}/%{pecl_name}/thirdparty +%doc %{pecl_docdir}/%{pecl_name}/travis %{php_incldir}/ext/%{pecl_name} %if %{with_zts} @@ -340,6 +341,9 @@ cd ../ZTS %changelog +* Sat Nov 10 2018 Remi Collet - 4.2.7-1 +- update to 4.2.7 + * Mon Nov 5 2018 Remi Collet - 4.2.6-1 - update to 4.2.6 - use hiredis bundled library -- cgit