summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION31
-rw-r--r--php-pecl-swoole4.spec10
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 [ <persistent> extension #149 swoole version 4.2.6 ] {
+Extension [ <persistent> extension #149 swoole version 4.2.7 ] {
- INI {
Entry [ swoole.enable_coroutine <ALL> ]
@@ -24,7 +24,7 @@ Extension [ <persistent> 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 [ <persistent> 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 [ <persistent> 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 [ <persistent> extension #149 swoole version 4.2.6 ] {
Method [ <internal:swoole> public method recv ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $timeout ]
+ - Parameters [2] {
+ Parameter #0 [ <optional> $length ]
+ Parameter #1 [ <optional> $timeout ]
}
}
@@ -1688,10 +1690,11 @@ Extension [ <persistent> extension #149 swoole version 4.2.6 ] {
Method [ <internal:swoole> public method connect ] {
- - Parameters [3] {
+ - Parameters [4] {
Parameter #0 [ <required> $host ]
Parameter #1 [ <optional> $port ]
Parameter #2 [ <optional> $timeout ]
+ Parameter #3 [ <optional> $sock_flag ]
}
}
@@ -3580,6 +3583,14 @@ Extension [ <persistent> extension #149 swoole version 4.2.6 ] {
}
}
+ Method [ <internal:swoole> static public method gethostbyname ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $domain_name ]
+ Parameter #1 [ <optional> $family ]
+ }
+ }
+
Method [ <internal:swoole> static public method set ] {
- Parameters [1] {
@@ -3665,14 +3676,6 @@ Extension [ <persistent> extension #149 swoole version 4.2.6 ] {
}
}
- Method [ <internal:swoole> static public method gethostbyname ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $domain_name ]
- Parameter #1 [ <optional> $family ]
- }
- }
-
Method [ <internal:swoole> 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 <remi@remirepo.net> - 4.2.7-1
+- update to 4.2.7
+
* Mon Nov 5 2018 Remi Collet <remi@remirepo.net> - 4.2.6-1
- update to 4.2.6
- use hiredis bundled library