From 1fd143a60ceb86c9941a75ba2025cebf6fe9908b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Dec 2021 08:57:31 +0100 Subject: update to 4.9.0 add patch for libcurl < 7.56 (EL-7) from https://github.com/openswoole/swoole-src/pull/103 --- REFLECTION | 101 +++++++++++++++++++++++++++---------------------------------- 1 file changed, 45 insertions(+), 56 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 239296c..610de62 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #88 openswoole version 4.8.1 ] { +Extension [ extension #88 openswoole version 4.9.0 ] { - Dependencies { Dependency [ swoole (Conflicts) ] @@ -29,12 +29,12 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - - Constants [378] { - Constant [ string SWOOLE_VERSION ] { 4.8.1 } - Constant [ int SWOOLE_VERSION_ID ] { 40801 } + - Constants [381] { + Constant [ string SWOOLE_VERSION ] { 4.9.0 } + Constant [ int SWOOLE_VERSION_ID ] { 40900 } Constant [ int SWOOLE_MAJOR_VERSION ] { 4 } - Constant [ int SWOOLE_MINOR_VERSION ] { 8 } - Constant [ int SWOOLE_RELEASE_VERSION ] { 1 } + Constant [ int SWOOLE_MINOR_VERSION ] { 9 } + Constant [ int SWOOLE_RELEASE_VERSION ] { 0 } Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } @@ -244,6 +244,9 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Constant [ int SWOOLE_IPC_NONE ] { 0 } Constant [ int SWOOLE_IPC_UNIXSOCK ] { 1 } Constant [ int SWOOLE_IPC_SOCKET ] { 3 } + Constant [ int OPENSWOOLE_STATS_DEFAULT ] { 0 } + Constant [ int OPENSWOOLE_STATS_JSON ] { 1 } + Constant [ int OPENSWOOLE_STATS_OPENMETRICS ] { 2 } Constant [ int SWOOLE_IOV_MAX ] { 1024 } Constant [ int SWOOLE_FILELOCK ] { 2 } Constant [ int SWOOLE_MUTEX ] { 3 } @@ -854,7 +857,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Function [ function swoole_native_curl_multi_add_handle ] { - Parameters [2] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] Parameter #1 [ CurlHandle $handle ] } - Return [ int ] @@ -862,21 +865,21 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Function [ function swoole_native_curl_multi_close ] { - Parameters [1] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] } - Return [ void ] } Function [ function swoole_native_curl_multi_errno ] { - Parameters [1] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] } - Return [ int ] } Function [ function swoole_native_curl_multi_exec ] { - Parameters [2] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] Parameter #1 [ &$still_running ] } - Return [ int ] @@ -884,7 +887,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Function [ function swoole_native_curl_multi_select ] { - Parameters [2] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] Parameter #1 [ float $timeout = 1.0 ] } - Return [ int ] @@ -892,7 +895,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Function [ function swoole_native_curl_multi_setopt ] { - Parameters [3] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] Parameter #1 [ int $option ] Parameter #2 [ mixed $value ] } @@ -908,7 +911,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Function [ function swoole_native_curl_multi_info_read ] { - Parameters [2] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] Parameter #1 [ &$queued_messages = null ] } - Return [ array|false ] @@ -917,20 +920,20 @@ Extension [ extension #88 openswoole version 4.8.1 ] { - Parameters [0] { } - - Return [ Swoole\Coroutine\Curl\MultiHandle ] + - Return [ CurlMultiHandle ] } Function [ function swoole_native_curl_multi_remove_handle ] { - Parameters [2] { - Parameter #0 [ Swoole\Coroutine\Curl\MultiHandle $multi_handle ] + Parameter #0 [ CurlMultiHandle $multi_handle ] Parameter #1 [ CurlHandle $handle ] } - Return [ int ] } } - - Classes [54] { - Class [ class Swoole\Exception extends Exception implements Stringable, Throwable ] { + - Classes [53] { + Class [ class Swoole\Exception extends Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -1021,7 +1024,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\Error extends Error implements Stringable, Throwable ] { + Class [ class Swoole\Error extends Error implements Throwable, Stringable ] { - Constants [0] { } @@ -1470,7 +1473,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Method [ static public method wait ] { - Parameters [1] { - Parameter #0 [ bool $blocking = 1 ] + Parameter #0 [ bool $blocking = true ] } - Return [ array|bool ] } @@ -2981,7 +2984,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\ExitException extends Swoole\Exception implements Throwable, Stringable ] { + Class [ class Swoole\ExitException extends Swoole\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -3419,25 +3422,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ final class Swoole\Coroutine\Curl\MultiHandle ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [0] { - } - } - - Class [ class Swoole\Coroutine\Curl\Exception extends Swoole\Exception implements Throwable, Stringable ] { + Class [ class Swoole\Coroutine\Curl\Exception extends Swoole\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -3808,7 +3793,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\Coroutine\Socket\Exception extends Swoole\Exception implements Throwable, Stringable ] { + Class [ class Swoole\Coroutine\Socket\Exception extends Swoole\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -4067,7 +4052,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\Client\Exception extends Swoole\Exception implements Throwable, Stringable ] { + Class [ class Swoole\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -4566,7 +4551,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\Coroutine\Http\Client\Exception extends Swoole\Exception implements Throwable, Stringable ] { + Class [ class Swoole\Coroutine\Http\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -4854,7 +4839,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\Coroutine\MySQL\Exception extends Swoole\Exception implements Throwable, Stringable ] { + Class [ class Swoole\Coroutine\MySQL\Exception extends Swoole\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -6574,7 +6559,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\Coroutine\Http2\Client\Exception extends Swoole\Exception implements Throwable, Stringable ] { + Class [ class Swoole\Coroutine\Http2\Client\Exception extends Swoole\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -7101,9 +7086,10 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Method [ public method stats ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $mode = 0 ] } - - Return [ array|false ] + - Return [ array|string|false ] } Method [ public method getSocket ] { @@ -8168,9 +8154,10 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Method [ public method stats ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $mode = 0 ] } - - Return [ array|false ] + - Return [ array|string|false ] } Method [ public method getSocket ] { @@ -8717,9 +8704,10 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Method [ public method stats ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $mode = 0 ] } - - Return [ array|false ] + - Return [ array|string|false ] } Method [ public method getSocket ] { @@ -8774,7 +8762,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\WebSocket\Frame ] { + Class [ class Swoole\WebSocket\Frame implements Stringable ] { - Constants [0] { } @@ -8811,7 +8799,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } - Methods [1] { - Method [ public method __toString ] { + Method [ public method __toString ] { - Parameters [0] { } @@ -8820,7 +8808,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } } - Class [ class Swoole\WebSocket\CloseFrame extends Swoole\WebSocket\Frame ] { + Class [ class Swoole\WebSocket\CloseFrame extends Swoole\WebSocket\Frame implements Stringable ] { - Constants [0] { } @@ -8859,7 +8847,7 @@ Extension [ extension #88 openswoole version 4.8.1 ] { } - Methods [1] { - Method [ public method __toString ] { + Method [ public method __toString ] { - Parameters [0] { } @@ -9273,9 +9261,10 @@ Extension [ extension #88 openswoole version 4.8.1 ] { Method [ public method stats ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $mode = 0 ] } - - Return [ array|false ] + - Return [ array|string|false ] } Method [ public method getSocket ] { -- cgit