From d7cc019ab74b78db1d23a75cf0977a1a6f969478 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Mar 2017 09:15:43 +0100 Subject: php-pecl-swoole: 1.9.8 --- REFLECTION | 218 ++++++++++++++++++++++++++++++++++++++++++++++++++- php-pecl-swoole.spec | 12 ++- 2 files changed, 220 insertions(+), 10 deletions(-) diff --git a/REFLECTION b/REFLECTION index 4ed19fb..828b3db 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #80 swoole version 1.9.6 ] { +Extension [ extension #80 swoole version 1.9.8 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -63,7 +63,7 @@ Extension [ extension #80 swoole version 1.9.6 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 1.9.6 } + Constant [ string SWOOLE_VERSION ] { 1.9.8 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } Constant [ integer SWOOLE_AIO_LINUX ] { 1 } Constant [ integer SWOOLE_FILELOCK ] { 2 } @@ -262,7 +262,7 @@ Extension [ extension #80 swoole version 1.9.6 ] { } } - - Classes [27] { + - Classes [29] { Class [ class swoole_server ] { - Constants [0] { @@ -2789,6 +2789,218 @@ Extension [ extension #80 swoole version 1.9.6 ] { } } + Class [ class swoole_http2_client extends swoole_client ] { + + - Constants [4] { + Constant [ integer MSG_OOB ] { 1 } + Constant [ integer MSG_PEEK ] { 2 } + Constant [ integer MSG_DONTWAIT ] { 64 } + Constant [ integer MSG_WAITALL ] { 256 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ public $errCode ] + Property [ public $sock ] + Property [ public $reuse ] + Property [ public $reuseCount ] + } + + - Methods [30] { + Method [ public method __construct ] { + } + + Method [ public method __destruct ] { + } + + Method [ public method setHeaders ] { + } + + Method [ public method setCookies ] { + } + + Method [ public method get ] { + } + + Method [ public method post ] { + } + + Method [ public method onConnect ] { + } + + Method [ public method onError ] { + } + + Method [ public method onReceive ] { + } + + Method [ public method onClose ] { + } + + Method [ public method set ] { + + - Parameters [1] { + Parameter #0 [ array $settings ] + } + } + + Method [ public method connect ] { + + - Parameters [4] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $timeout ] + Parameter #3 [ $sock_flag ] + } + } + + Method [ public method recv ] { + + - Parameters [2] { + Parameter #0 [ $size ] + Parameter #1 [ $flag ] + } + } + + Method [ public method send ] { + + - Parameters [2] { + Parameter #0 [ $data ] + Parameter #1 [ $flag ] + } + } + + Method [ public method pipe ] { + + - Parameters [1] { + Parameter #0 [ $dst_socket ] + } + } + + Method [ public method sendfile ] { + + - Parameters [2] { + Parameter #0 [ $filename ] + Parameter #1 [ $offset ] + } + } + + Method [ public method sendto ] { + + - Parameters [3] { + Parameter #0 [ $ip ] + Parameter #1 [ $port ] + Parameter #2 [ $data ] + } + } + + Method [ public method sleep ] { + + - Parameters [0] { + } + } + + Method [ public method wakeup ] { + + - Parameters [0] { + } + } + + Method [ public method pause ] { + + - Parameters [0] { + } + } + + Method [ public method resume ] { + + - Parameters [0] { + } + } + + Method [ public method enableSSL ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } + + Method [ public method getPeerCert ] { + + - Parameters [0] { + } + } + + Method [ public method verifyPeerCert ] { + + - Parameters [0] { + } + } + + Method [ public method isConnected ] { + + - Parameters [0] { + } + } + + Method [ public method getsockname ] { + + - Parameters [0] { + } + } + + Method [ public method getpeername ] { + + - Parameters [0] { + } + } + + Method [ public method close ] { + + - Parameters [1] { + Parameter #0 [ $force ] + } + } + + Method [ public method on ] { + + - Parameters [2] { + Parameter #0 [ $event_name ] + Parameter #1 [ $callback ] + } + } + + Method [ public method getSocket ] { + + - Parameters [0] { + } + } + } + } + + Class [ class swoole_http2_response ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + Class [ class swoole_serialize ] { - Constants [0] { diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index 6116ec0..7dc9566 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -37,16 +37,13 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.9.7 +Version: 1.9.8 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -Patch0: %{pecl_name}-pr1148.patch -Patch1: 9aade9eafcd0d5be04366ed7b0f42e0dd0694082.patch - BuildRequires: %{?scl_prefix}php-devel >= 5.3.10 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-sockets @@ -144,9 +141,6 @@ sed -e 's/role="test"/role="src"/' \ cd NTS -%patch0 -p1 -b .pr1148 -%patch1 -p1 -b .upstream - # Sanity check, really often broken extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then @@ -291,6 +285,10 @@ cd ../ZTS %changelog +* Thu Mar 16 2017 Remi Collet - 1.9.8-1 +- Update to 1.9.8 +- drop patch merged upstream + * Thu Mar 16 2017 Remi Collet - 1.9.7-1 - Update to 1.9.7 - open https://github.com/swoole/swoole-src/issues/1147 -- cgit