From feea542bba1adbd0227d6a6a58d13aeeb0cecdad Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 26 Mar 2017 19:31:50 +0200 Subject: v2.3.0 (stable) --- .gitignore | 2 + REFLECTION | 1430 +++++++++++++++++++++++++++++++++++++++++++++++++++ REFLECTION-DEV | 1430 --------------------------------------------------- package.xml | 1071 ++++++++++++++++++++++++++++++++++++++ php-pecl-event.spec | 21 +- 5 files changed, 2517 insertions(+), 1437 deletions(-) create mode 100644 .gitignore create mode 100644 REFLECTION delete mode 100644 REFLECTION-DEV create mode 100644 package.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0597944 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +event-*.tgz +*.src.rpm diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..9166b43 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,1430 @@ +Extension [ extension #94 event version 2.3.0 ] { + + - Dependencies { + Dependency [ sockets (Required) ] + } + + - Classes [12] { + Class [ final class Event ] { + + - Constants [6] { + Constant [ integer ET ] { 32 } + Constant [ integer PERSIST ] { 16 } + Constant [ integer READ ] { 2 } + Constant [ integer WRITE ] { 4 } + Constant [ integer SIGNAL ] { 8 } + Constant [ integer TIMEOUT ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [3] { + Method [ static public method getSupportedMethods ] { + + - Parameters [0] { + } + } + + Method [ static public method timer ] { + + - Parameters [3] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $cb ] + Parameter #2 [ $arg ] + } + } + + Method [ static public method signal ] { + + - Parameters [4] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $signum ] + Parameter #2 [ $cb ] + Parameter #3 [ $arg ] + } + } + } + + - Properties [2] { + Property [ public $pending ] + Property [ public $data ] + } + + - Methods [12] { + Method [ public method __construct ] { + + - Parameters [5] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $fd ] + Parameter #2 [ $what ] + Parameter #3 [ $cb ] + Parameter #4 [ $arg ] + } + } + + Method [ public method free ] { + + - Parameters [0] { + } + } + + Method [ public method set ] { + + - Parameters [5] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $fd ] + Parameter #2 [ $what ] + Parameter #3 [ $cb ] + Parameter #4 [ $arg ] + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method del ] { + + - Parameters [0] { + } + } + + Method [ public method setPriority ] { + + - Parameters [1] { + Parameter #0 [ $priority ] + } + } + + Method [ public method pending ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method setTimer ] { + + - Parameters [3] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $cb ] + Parameter #2 [ $arg ] + } + } + + Method [ public method addTimer ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method delTimer ] { + + - Parameters [0] { + } + } + + Method [ public method addSignal ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method delSignal ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class EventBase ] { + + - Constants [6] { + Constant [ integer LOOP_ONCE ] { 1 } + Constant [ integer LOOP_NONBLOCK ] { 2 } + Constant [ integer NOLOCK ] { 1 } + Constant [ integer STARTUP_IOCP ] { 4 } + Constant [ integer NO_CACHE_TIME ] { 8 } + Constant [ integer EPOLL_USE_CHANGELIST ] { 16 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $cfg ] + } + } + + Method [ public method getMethod ] { + + - Parameters [1] { + Parameter #0 [ $cfg ] + } + } + + Method [ public method getFeatures ] { + + - Parameters [0] { + } + } + + Method [ public method priorityInit ] { + + - Parameters [1] { + Parameter #0 [ $n_priorities ] + } + } + + Method [ public method loop ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method dispatch ] { + + - Parameters [0] { + } + } + + Method [ public method exit ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method stop ] { + + - Parameters [0] { + } + } + + Method [ public method gotStop ] { + + - Parameters [0] { + } + } + + Method [ public method gotExit ] { + + - Parameters [0] { + } + } + + Method [ public method getTimeOfDayCached ] { + + - Parameters [0] { + } + } + + Method [ public method reInit ] { + + - Parameters [0] { + } + } + + Method [ public method free ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class EventConfig ] { + + - Constants [3] { + Constant [ integer FEATURE_ET ] { 1 } + Constant [ integer FEATURE_O1 ] { 2 } + Constant [ integer FEATURE_FDS ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method avoidMethod ] { + + - Parameters [1] { + Parameter #0 [ $method ] + } + } + + Method [ public method requireFeatures ] { + + - Parameters [1] { + Parameter #0 [ $feature ] + } + } + } + } + + Class [ final class EventBufferEvent ] { + + - Constants [13] { + Constant [ integer READING ] { 1 } + Constant [ integer WRITING ] { 2 } + Constant [ integer EOF ] { 16 } + Constant [ integer ERROR ] { 32 } + Constant [ integer TIMEOUT ] { 64 } + Constant [ integer CONNECTED ] { 128 } + Constant [ integer OPT_CLOSE_ON_FREE ] { 1 } + Constant [ integer OPT_THREADSAFE ] { 2 } + Constant [ integer OPT_DEFER_CALLBACKS ] { 4 } + Constant [ integer OPT_UNLOCK_CALLBACKS ] { 8 } + Constant [ integer SSL_OPEN ] { 0 } + Constant [ integer SSL_CONNECTING ] { 1 } + Constant [ integer SSL_ACCEPTING ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ static public method createPair ] { + + - Parameters [2] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $options ] + } + } + + Method [ static public method sslFilter ] { + + - Parameters [5] { + Parameter #0 [ $unused ] + Parameter #1 [ EventBufferEvent $underlying ] + Parameter #2 [ EventSslContext $ctx ] + Parameter #3 [ $state ] + Parameter #4 [ $options ] + } + } + + Method [ static public method createSslFilter ] { + + - Parameters [4] { + Parameter #0 [ EventBufferEvent $underlying ] + Parameter #1 [ EventSslContext $ctx ] + Parameter #2 [ $state ] + Parameter #3 [ $options ] + } + } + + Method [ static public method sslSocket ] { + + - Parameters [5] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $socket ] + Parameter #2 [ EventSslContext $ctx ] + Parameter #3 [ $state ] + Parameter #4 [ $options ] + } + } + } + + - Properties [4] { + Property [ public $priority ] + Property [ public $fd ] + Property [ public $input ] + Property [ public $output ] + } + + - Methods [25] { + Method [ public method __construct ] { + + - Parameters [6] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $socket ] + Parameter #2 [ $options ] + Parameter #3 [ $readcb ] + Parameter #4 [ $writecb ] + Parameter #5 [ $eventcb ] + } + } + + Method [ public method free ] { + + - Parameters [0] { + } + } + + Method [ public method close ] { + + - Parameters [0] { + } + } + + Method [ public method connect ] { + + - Parameters [1] { + Parameter #0 [ $addr ] + } + } + + Method [ public method connectHost ] { + + - Parameters [4] { + Parameter #0 [ $dns_base ] + Parameter #1 [ $hostname ] + Parameter #2 [ $port ] + Parameter #3 [ $family ] + } + } + + Method [ public method getDnsErrorString ] { + + - Parameters [0] { + } + } + + Method [ public method setCallbacks ] { + + - Parameters [4] { + Parameter #0 [ $readcb ] + Parameter #1 [ $writecb ] + Parameter #2 [ $eventcb ] + Parameter #3 [ $arg ] + } + } + + Method [ public method enable ] { + + - Parameters [1] { + Parameter #0 [ $events ] + } + } + + Method [ public method disable ] { + + - Parameters [1] { + Parameter #0 [ $events ] + } + } + + Method [ public method getEnabled ] { + + - Parameters [0] { + } + } + + Method [ public method getInput ] { + + - Parameters [0] { + } + } + + Method [ public method getOutput ] { + + - Parameters [0] { + } + } + + Method [ public method setWatermark ] { + + - Parameters [3] { + Parameter #0 [ $events ] + Parameter #1 [ $lowmark ] + Parameter #2 [ $highmark ] + } + } + + Method [ public method write ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method writeBuffer ] { + + - Parameters [1] { + Parameter #0 [ $buf ] + } + } + + Method [ public method read ] { + + - Parameters [1] { + Parameter #0 [ $size ] + } + } + + Method [ public method readBuffer ] { + + - Parameters [1] { + Parameter #0 [ $buf ] + } + } + + Method [ public method setPriority ] { + + - Parameters [1] { + Parameter #0 [ $priority ] + } + } + + Method [ public method setTimeouts ] { + + - Parameters [2] { + Parameter #0 [ $timeout_read ] + Parameter #1 [ $timeout_write ] + } + } + + Method [ public method sslError ] { + + - Parameters [0] { + } + } + + Method [ public method sslRenegotiate ] { + + - Parameters [0] { + } + } + + Method [ public method sslGetCipherInfo ] { + + - Parameters [0] { + } + } + + Method [ public method sslGetCipherName ] { + + - Parameters [0] { + } + } + + Method [ public method sslGetCipherVersion ] { + + - Parameters [0] { + } + } + + Method [ public method sslGetProtocol ] { + + - Parameters [0] { + } + } + } + } + + Class [ class EventBuffer ] { + + - Constants [6] { + Constant [ integer EOL_ANY ] { 0 } + Constant [ integer EOL_CRLF ] { 1 } + Constant [ integer EOL_CRLF_STRICT ] { 2 } + Constant [ integer EOL_LF ] { 3 } + Constant [ integer PTR_SET ] { 0 } + Constant [ integer PTR_ADD ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $length ] + Property [ public $contiguous_space ] + } + + - Methods [22] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method freeze ] { + + - Parameters [1] { + Parameter #0 [ $at_front ] + } + } + + Method [ public method unfreeze ] { + + - Parameters [1] { + Parameter #0 [ $at_front ] + } + } + + Method [ public method lock ] { + + - Parameters [0] { + } + } + + Method [ public method unlock ] { + + - Parameters [0] { + } + } + + Method [ public method enableLocking ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method addBuffer ] { + + - Parameters [1] { + Parameter #0 [ $buf ] + } + } + + Method [ public method appendFrom ] { + + - Parameters [2] { + Parameter #0 [ $buf ] + Parameter #1 [ $len ] + } + } + + Method [ public method read ] { + + - Parameters [1] { + Parameter #0 [ $max_bytes ] + } + } + + Method [ public method expand ] { + + - Parameters [1] { + Parameter #0 [ $len ] + } + } + + Method [ public method prepend ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method prependBuffer ] { + + - Parameters [1] { + Parameter #0 [ $buf ] + } + } + + Method [ public method drain ] { + + - Parameters [1] { + Parameter #0 [ $len ] + } + } + + Method [ public method copyout ] { + + - Parameters [2] { + Parameter #0 [ &$data ] + Parameter #1 [ $max_bytes ] + } + } + + Method [ public method readLine ] { + + - Parameters [1] { + Parameter #0 [ $eol_style ] + } + } + + Method [ public method search ] { + + - Parameters [3] { + Parameter #0 [ $what ] + Parameter #1 [ $start ] + Parameter #2 [ $end ] + } + } + + Method [ public method searchEol ] { + + - Parameters [2] { + Parameter #0 [ $start ] + Parameter #1 [ $eol_style ] + } + } + + Method [ public method pullup ] { + + - Parameters [1] { + Parameter #0 [ $size ] + } + } + + Method [ public method write ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $howmuch ] + } + } + + Method [ public method readFrom ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $howmuch ] + } + } + + Method [ public method substr ] { + + - Parameters [2] { + Parameter #0 [ $start ] + Parameter #1 [ $length ] + } + } + } + } + + Class [ final class EventDnsBase ] { + + - Constants [5] { + Constant [ integer OPTION_SEARCH ] { 1 } + Constant [ integer OPTION_NAMESERVERS ] { 2 } + Constant [ integer OPTION_MISC ] { 4 } + Constant [ integer OPTION_HOSTSFILE ] { 8 } + Constant [ integer OPTIONS_ALL ] { 15 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $initialize ] + } + } + + Method [ public method parseResolvConf ] { + + - Parameters [2] { + Parameter #0 [ $flags ] + Parameter #1 [ $filename ] + } + } + + Method [ public method addNameserverIp ] { + + - Parameters [1] { + Parameter #0 [ $ip ] + } + } + + Method [ public method loadHosts ] { + + - Parameters [1] { + Parameter #0 [ $hosts ] + } + } + + Method [ public method clearSearch ] { + + - Parameters [0] { + } + } + + Method [ public method addSearch ] { + + - Parameters [1] { + Parameter #0 [ $domain ] + } + } + + Method [ public method setSearchNdots ] { + + - Parameters [1] { + Parameter #0 [ $ndots ] + } + } + + Method [ public method setOption ] { + + - Parameters [2] { + Parameter #0 [ $option ] + Parameter #1 [ $value ] + } + } + + Method [ public method countNameservers ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class EventListener ] { + + - Constants [5] { + Constant [ integer OPT_LEAVE_SOCKETS_BLOCKING ] { 1 } + Constant [ integer OPT_CLOSE_ON_FREE ] { 2 } + Constant [ integer OPT_CLOSE_ON_EXEC ] { 4 } + Constant [ integer OPT_REUSEABLE ] { 8 } + Constant [ integer OPT_THREADSAFE ] { 16 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ public $fd ] + } + + - Methods [8] { + Method [ public method __construct ] { + + - Parameters [6] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $cb ] + Parameter #2 [ $data ] + Parameter #3 [ $flags ] + Parameter #4 [ $backlog ] + Parameter #5 [ $target ] + } + } + + Method [ public method free ] { + + - Parameters [0] { + } + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method setCallback ] { + + - Parameters [2] { + Parameter #0 [ $cb ] + Parameter #1 [ $arg ] + } + } + + Method [ public method setErrorCallback ] { + + - Parameters [1] { + Parameter #0 [ $cb ] + } + } + + Method [ public method getSocketName ] { + + - Parameters [2] { + Parameter #0 [ &$address ] + Parameter #1 [ &$port ] + } + } + + Method [ public method getBase ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class EventHttpConnection ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ public method __construct ] { + + - Parameters [5] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ $dns_base ] + Parameter #2 [ $address ] + Parameter #3 [ $port ] + Parameter #4 [ EventSslContext $ctx ] + } + } + + Method [ public method getBase ] { + + - Parameters [0] { + } + } + + Method [ public method getPeer ] { + + - Parameters [2] { + Parameter #0 [ &$address ] + Parameter #1 [ &$port ] + } + } + + Method [ public method setLocalAddress ] { + + - Parameters [1] { + Parameter #0 [ $address ] + } + } + + Method [ public method setLocalPort ] { + + - Parameters [1] { + Parameter #0 [ $port ] + } + } + + Method [ public method setTimeout ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method setMaxHeadersSize ] { + + - Parameters [1] { + Parameter #0 [ $max_size ] + } + } + + Method [ public method setMaxBodySize ] { + + - Parameters [1] { + Parameter #0 [ $max_size ] + } + } + + Method [ public method setRetries ] { + + - Parameters [1] { + Parameter #0 [ $retries ] + } + } + + Method [ public method makeRequest ] { + + - Parameters [3] { + Parameter #0 [ $req ] + Parameter #1 [ $type ] + Parameter #2 [ $uri ] + } + } + + Method [ public method setCloseCallback ] { + + - Parameters [2] { + Parameter #0 [ $callback ] + Parameter #1 [ $data ] + } + } + } + } + + Class [ final class EventHttp ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ EventBase $base ] + Parameter #1 [ EventSslContext $ctx ] + } + } + + Method [ public method accept ] { + + - Parameters [1] { + Parameter #0 [ $socket ] + } + } + + Method [ public method bind ] { + + - Parameters [2] { + Parameter #0 [ $address ] + Parameter #1 [ $port ] + } + } + + Method [ public method setCallback ] { + + - Parameters [3] { + Parameter #0 [ $path ] + Parameter #1 [ $cb ] + Parameter #2 [ $arg ] + } + } + + Method [ public method setDefaultCallback ] { + + - Parameters [2] { + Parameter #0 [ $cb ] + Parameter #1 [ $arg ] + } + } + + Method [ public method setAllowedMethods ] { + + - Parameters [1] { + Parameter #0 [ $methods ] + } + } + + Method [ public method setMaxBodySize ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method setMaxHeadersSize ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method setTimeout ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method addServerAlias ] { + + - Parameters [1] { + Parameter #0 [ $alias ] + } + } + + Method [ public method removeServerAlias ] { + + - Parameters [1] { + Parameter #0 [ $alias ] + } + } + } + } + + Class [ final class EventHttpRequest ] { + + - Constants [11] { + Constant [ integer CMD_GET ] { 1 } + Constant [ integer CMD_POST ] { 2 } + Constant [ integer CMD_HEAD ] { 4 } + Constant [ integer CMD_PUT ] { 8 } + Constant [ integer CMD_DELETE ] { 16 } + Constant [ integer CMD_OPTIONS ] { 32 } + Constant [ integer CMD_TRACE ] { 64 } + Constant [ integer CMD_CONNECT ] { 128 } + Constant [ integer CMD_PATCH ] { 256 } + Constant [ integer INPUT_HEADER ] { 1 } + Constant [ integer OUTPUT_HEADER ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [23] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $callback ] + Parameter #1 [ $data ] + } + } + + Method [ public method free ] { + + - Parameters [0] { + } + } + + Method [ public method getCommand ] { + + - Parameters [0] { + } + } + + Method [ public method getHost ] { + + - Parameters [0] { + } + } + + Method [ public method getUri ] { + + - Parameters [0] { + } + } + + Method [ public method getResponseCode ] { + + - Parameters [0] { + } + } + + Method [ public method getInputHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method getOutputHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method getInputBuffer ] { + + - Parameters [0] { + } + } + + Method [ public method getOutputBuffer ] { + + - Parameters [0] { + } + } + + Method [ public method sendError ] { + + - Parameters [2] { + Parameter #0 [ $error ] + Parameter #1 [ $reason ] + } + } + + Method [ public method sendReply ] { + + - Parameters [3] { + Parameter #0 [ $code ] + Parameter #1 [ $reason ] + Parameter #2 [ $buf ] + } + } + + Method [ public method sendReplyChunk ] { + + - Parameters [1] { + Parameter #0 [ $buf ] + } + } + + Method [ public method sendReplyEnd ] { + + - Parameters [0] { + } + } + + Method [ public method sendReplyStart ] { + + - Parameters [2] { + Parameter #0 [ $code ] + Parameter #1 [ $reason ] + } + } + + Method [ public method cancel ] { + + - Parameters [0] { + } + } + + Method [ public method addHeader ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + Parameter #2 [ $type ] + } + } + + Method [ public method clearHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method removeHeader ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $type ] + } + } + + Method [ public method findHeader ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $type ] + } + } + + Method [ public method getBufferEvent ] { + + - Parameters [0] { + } + } + + Method [ public method getConnection ] { + + - Parameters [0] { + } + } + + Method [ public method closeConnection ] { + + - Parameters [0] { + } + } + } + } + + Class [ abstract final class EventUtil ] { + + - Constants [26] { + Constant [ integer AF_INET ] { 2 } + Constant [ integer AF_INET6 ] { 10 } + Constant [ integer AF_UNIX ] { 1 } + Constant [ integer AF_UNSPEC ] { 0 } + Constant [ integer SO_DEBUG ] { 1 } + Constant [ integer SO_REUSEADDR ] { 2 } + Constant [ integer SO_KEEPALIVE ] { 9 } + Constant [ integer SO_DONTROUTE ] { 5 } + Constant [ integer SO_LINGER ] { 13 } + Constant [ integer SO_BROADCAST ] { 6 } + Constant [ integer SO_OOBINLINE ] { 10 } + Constant [ integer SO_SNDBUF ] { 7 } + Constant [ integer SO_RCVBUF ] { 8 } + Constant [ integer SO_SNDLOWAT ] { 19 } + Constant [ integer SO_RCVLOWAT ] { 18 } + Constant [ integer SO_SNDTIMEO ] { 21 } + Constant [ integer SO_RCVTIMEO ] { 20 } + Constant [ integer SO_TYPE ] { 3 } + Constant [ integer SO_ERROR ] { 4 } + Constant [ integer SOL_SOCKET ] { 1 } + Constant [ integer SOL_TCP ] { 6 } + Constant [ integer SOL_UDP ] { 17 } + Constant [ integer SOCK_RAW ] { 3 } + Constant [ integer IPPROTO_IP ] { 0 } + Constant [ integer IPPROTO_IPV6 ] { 41 } + Constant [ integer LIBEVENT_VERSION_NUMBER ] { 33560064 } + } + + - Static properties [0] { + } + + - Static methods [7] { + Method [ static public method getLastSocketErrno ] { + + - Parameters [1] { + Parameter #0 [ $socket ] + } + } + + Method [ static public method getLastSocketError ] { + + - Parameters [1] { + Parameter #0 [ $socket ] + } + } + + Method [ static public method sslRandPoll ] { + + - Parameters [0] { + } + } + + Method [ static public method getSocketName ] { + + - Parameters [3] { + Parameter #0 [ $socket ] + Parameter #1 [ &$address ] + Parameter #2 [ &$port ] + } + } + + Method [ static public method getSocketFd ] { + + - Parameters [1] { + Parameter #0 [ $socket ] + } + } + + Method [ static public method setSocketOption ] { + + - Parameters [4] { + Parameter #0 [ $socket ] + Parameter #1 [ $level ] + Parameter #2 [ $optname ] + Parameter #3 [ $optval ] + } + } + + Method [ static public method createSocket ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method __construct ] { + } + } + } + + Class [ final class EventSslContext ] { + + - Constants [27] { + Constant [ integer SSLv3_CLIENT_METHOD ] { 2 } + Constant [ integer SSLv3_SERVER_METHOD ] { 6 } + Constant [ integer TLS_CLIENT_METHOD ] { 4 } + Constant [ integer TLS_SERVER_METHOD ] { 8 } + Constant [ integer TLSv11_CLIENT_METHOD ] { 9 } + Constant [ integer TLSv11_SERVER_METHOD ] { 10 } + Constant [ integer TLSv12_CLIENT_METHOD ] { 11 } + Constant [ integer TLSv12_SERVER_METHOD ] { 12 } + Constant [ integer OPT_LOCAL_CERT ] { 1 } + Constant [ integer OPT_LOCAL_PK ] { 2 } + Constant [ integer OPT_PASSPHRASE ] { 3 } + Constant [ integer OPT_CA_FILE ] { 4 } + Constant [ integer OPT_CA_PATH ] { 5 } + Constant [ integer OPT_ALLOW_SELF_SIGNED ] { 6 } + Constant [ integer OPT_VERIFY_PEER ] { 7 } + Constant [ integer OPT_VERIFY_DEPTH ] { 8 } + Constant [ integer OPT_CIPHERS ] { 9 } + Constant [ integer OPT_NO_SSLv2 ] { 10 } + Constant [ integer OPT_NO_SSLv3 ] { 11 } + Constant [ integer OPT_NO_TLSv1 ] { 12 } + Constant [ integer OPT_NO_TLSv1_1 ] { 13 } + Constant [ integer OPT_NO_TLSv1_2 ] { 14 } + Constant [ integer OPT_CIPHER_SERVER_PREFERENCE ] { 15 } + Constant [ integer OPT_REQUIRE_CLIENT_CERT ] { 16 } + Constant [ integer OPT_VERIFY_CLIENT_ONCE ] { 17 } + Constant [ string OPENSSL_VERSION_TEXT ] { OpenSSL 1.0.2k-fips 26 Jan 2017 } + Constant [ integer OPENSSL_VERSION_NUMBER ] { 268443839 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $local_cert ] + Property [ public $local_pk ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $method ] + Parameter #1 [ $options ] + } + } + } + } + } +} + diff --git a/REFLECTION-DEV b/REFLECTION-DEV deleted file mode 100644 index 472169d..0000000 --- a/REFLECTION-DEV +++ /dev/null @@ -1,1430 +0,0 @@ -Extension [ extension #157 event version 2.3.0RC1 ] { - - - Dependencies { - Dependency [ sockets (Required) ] - } - - - Classes [12] { - Class [ final class Event ] { - - - Constants [6] { - Constant [ integer ET ] { 32 } - Constant [ integer PERSIST ] { 16 } - Constant [ integer READ ] { 2 } - Constant [ integer WRITE ] { 4 } - Constant [ integer SIGNAL ] { 8 } - Constant [ integer TIMEOUT ] { 1 } - } - - - Static properties [0] { - } - - - Static methods [3] { - Method [ static public method getSupportedMethods ] { - - - Parameters [0] { - } - } - - Method [ static public method timer ] { - - - Parameters [3] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $cb ] - Parameter #2 [ $arg ] - } - } - - Method [ static public method signal ] { - - - Parameters [4] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $signum ] - Parameter #2 [ $cb ] - Parameter #3 [ $arg ] - } - } - } - - - Properties [2] { - Property [ public $pending ] - Property [ public $data ] - } - - - Methods [12] { - Method [ public method __construct ] { - - - Parameters [5] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $fd ] - Parameter #2 [ $what ] - Parameter #3 [ $cb ] - Parameter #4 [ $arg ] - } - } - - Method [ public method free ] { - - - Parameters [0] { - } - } - - Method [ public method set ] { - - - Parameters [5] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $fd ] - Parameter #2 [ $what ] - Parameter #3 [ $cb ] - Parameter #4 [ $arg ] - } - } - - Method [ public method add ] { - - - Parameters [1] { - Parameter #0 [ $timeout ] - } - } - - Method [ public method del ] { - - - Parameters [0] { - } - } - - Method [ public method setPriority ] { - - - Parameters [1] { - Parameter #0 [ $priority ] - } - } - - Method [ public method pending ] { - - - Parameters [1] { - Parameter #0 [ $flags ] - } - } - - Method [ public method setTimer ] { - - - Parameters [3] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $cb ] - Parameter #2 [ $arg ] - } - } - - Method [ public method addTimer ] { - - - Parameters [1] { - Parameter #0 [ $timeout ] - } - } - - Method [ public method delTimer ] { - - - Parameters [0] { - } - } - - Method [ public method addSignal ] { - - - Parameters [1] { - Parameter #0 [ $timeout ] - } - } - - Method [ public method delSignal ] { - - - Parameters [0] { - } - } - } - } - - Class [ final class EventBase ] { - - - Constants [6] { - Constant [ integer LOOP_ONCE ] { 1 } - Constant [ integer LOOP_NONBLOCK ] { 2 } - Constant [ integer NOLOCK ] { 1 } - Constant [ integer STARTUP_IOCP ] { 4 } - Constant [ integer NO_CACHE_TIME ] { 8 } - Constant [ integer EPOLL_USE_CHANGELIST ] { 16 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [13] { - Method [ public method __construct ] { - - - Parameters [1] { - Parameter #0 [ $cfg ] - } - } - - Method [ public method getMethod ] { - - - Parameters [1] { - Parameter #0 [ $cfg ] - } - } - - Method [ public method getFeatures ] { - - - Parameters [0] { - } - } - - Method [ public method priorityInit ] { - - - Parameters [1] { - Parameter #0 [ $n_priorities ] - } - } - - Method [ public method loop ] { - - - Parameters [1] { - Parameter #0 [ $flags ] - } - } - - Method [ public method dispatch ] { - - - Parameters [0] { - } - } - - Method [ public method exit ] { - - - Parameters [1] { - Parameter #0 [ $timeout ] - } - } - - Method [ public method stop ] { - - - Parameters [0] { - } - } - - Method [ public method gotStop ] { - - - Parameters [0] { - } - } - - Method [ public method gotExit ] { - - - Parameters [0] { - } - } - - Method [ public method getTimeOfDayCached ] { - - - Parameters [0] { - } - } - - Method [ public method reInit ] { - - - Parameters [0] { - } - } - - Method [ public method free ] { - - - Parameters [0] { - } - } - } - } - - Class [ final class EventConfig ] { - - - Constants [3] { - Constant [ integer FEATURE_ET ] { 1 } - Constant [ integer FEATURE_O1 ] { 2 } - Constant [ integer FEATURE_FDS ] { 4 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [3] { - Method [ public method __construct ] { - - - Parameters [0] { - } - } - - Method [ public method avoidMethod ] { - - - Parameters [1] { - Parameter #0 [ $method ] - } - } - - Method [ public method requireFeatures ] { - - - Parameters [1] { - Parameter #0 [ $feature ] - } - } - } - } - - Class [ final class EventBufferEvent ] { - - - Constants [13] { - Constant [ integer READING ] { 1 } - Constant [ integer WRITING ] { 2 } - Constant [ integer EOF ] { 16 } - Constant [ integer ERROR ] { 32 } - Constant [ integer TIMEOUT ] { 64 } - Constant [ integer CONNECTED ] { 128 } - Constant [ integer OPT_CLOSE_ON_FREE ] { 1 } - Constant [ integer OPT_THREADSAFE ] { 2 } - Constant [ integer OPT_DEFER_CALLBACKS ] { 4 } - Constant [ integer OPT_UNLOCK_CALLBACKS ] { 8 } - Constant [ integer SSL_OPEN ] { 0 } - Constant [ integer SSL_CONNECTING ] { 1 } - Constant [ integer SSL_ACCEPTING ] { 2 } - } - - - Static properties [0] { - } - - - Static methods [4] { - Method [ static public method createPair ] { - - - Parameters [2] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $options ] - } - } - - Method [ static public method sslFilter ] { - - - Parameters [5] { - Parameter #0 [ $unused ] - Parameter #1 [ EventBufferEvent $underlying ] - Parameter #2 [ EventSslContext $ctx ] - Parameter #3 [ $state ] - Parameter #4 [ $options ] - } - } - - Method [ static public method createSslFilter ] { - - - Parameters [4] { - Parameter #0 [ EventBufferEvent $underlying ] - Parameter #1 [ EventSslContext $ctx ] - Parameter #2 [ $state ] - Parameter #3 [ $options ] - } - } - - Method [ static public method sslSocket ] { - - - Parameters [5] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $socket ] - Parameter #2 [ EventSslContext $ctx ] - Parameter #3 [ $state ] - Parameter #4 [ $options ] - } - } - } - - - Properties [4] { - Property [ public $priority ] - Property [ public $fd ] - Property [ public $input ] - Property [ public $output ] - } - - - Methods [25] { - Method [ public method __construct ] { - - - Parameters [6] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $socket ] - Parameter #2 [ $options ] - Parameter #3 [ $readcb ] - Parameter #4 [ $writecb ] - Parameter #5 [ $eventcb ] - } - } - - Method [ public method free ] { - - - Parameters [0] { - } - } - - Method [ public method close ] { - - - Parameters [0] { - } - } - - Method [ public method connect ] { - - - Parameters [1] { - Parameter #0 [ $addr ] - } - } - - Method [ public method connectHost ] { - - - Parameters [4] { - Parameter #0 [ $dns_base ] - Parameter #1 [ $hostname ] - Parameter #2 [ $port ] - Parameter #3 [ $family ] - } - } - - Method [ public method getDnsErrorString ] { - - - Parameters [0] { - } - } - - Method [ public method setCallbacks ] { - - - Parameters [4] { - Parameter #0 [ $readcb ] - Parameter #1 [ $writecb ] - Parameter #2 [ $eventcb ] - Parameter #3 [ $arg ] - } - } - - Method [ public method enable ] { - - - Parameters [1] { - Parameter #0 [ $events ] - } - } - - Method [ public method disable ] { - - - Parameters [1] { - Parameter #0 [ $events ] - } - } - - Method [ public method getEnabled ] { - - - Parameters [0] { - } - } - - Method [ public method getInput ] { - - - Parameters [0] { - } - } - - Method [ public method getOutput ] { - - - Parameters [0] { - } - } - - Method [ public method setWatermark ] { - - - Parameters [3] { - Parameter #0 [ $events ] - Parameter #1 [ $lowmark ] - Parameter #2 [ $highmark ] - } - } - - Method [ public method write ] { - - - Parameters [1] { - Parameter #0 [ $data ] - } - } - - Method [ public method writeBuffer ] { - - - Parameters [1] { - Parameter #0 [ $buf ] - } - } - - Method [ public method read ] { - - - Parameters [1] { - Parameter #0 [ $size ] - } - } - - Method [ public method readBuffer ] { - - - Parameters [1] { - Parameter #0 [ $buf ] - } - } - - Method [ public method setPriority ] { - - - Parameters [1] { - Parameter #0 [ $priority ] - } - } - - Method [ public method setTimeouts ] { - - - Parameters [2] { - Parameter #0 [ $timeout_read ] - Parameter #1 [ $timeout_write ] - } - } - - Method [ public method sslError ] { - - - Parameters [0] { - } - } - - Method [ public method sslRenegotiate ] { - - - Parameters [0] { - } - } - - Method [ public method sslGetCipherInfo ] { - - - Parameters [0] { - } - } - - Method [ public method sslGetCipherName ] { - - - Parameters [0] { - } - } - - Method [ public method sslGetCipherVersion ] { - - - Parameters [0] { - } - } - - Method [ public method sslGetProtocol ] { - - - Parameters [0] { - } - } - } - } - - Class [ class EventBuffer ] { - - - Constants [6] { - Constant [ integer EOL_ANY ] { 0 } - Constant [ integer EOL_CRLF ] { 1 } - Constant [ integer EOL_CRLF_STRICT ] { 2 } - Constant [ integer EOL_LF ] { 3 } - Constant [ integer PTR_SET ] { 0 } - Constant [ integer PTR_ADD ] { 1 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ public $length ] - Property [ public $contiguous_space ] - } - - - Methods [22] { - Method [ public method __construct ] { - - - Parameters [0] { - } - } - - Method [ public method freeze ] { - - - Parameters [1] { - Parameter #0 [ $at_front ] - } - } - - Method [ public method unfreeze ] { - - - Parameters [1] { - Parameter #0 [ $at_front ] - } - } - - Method [ public method lock ] { - - - Parameters [0] { - } - } - - Method [ public method unlock ] { - - - Parameters [0] { - } - } - - Method [ public method enableLocking ] { - - - Parameters [0] { - } - } - - Method [ public method add ] { - - - Parameters [1] { - Parameter #0 [ $data ] - } - } - - Method [ public method addBuffer ] { - - - Parameters [1] { - Parameter #0 [ $buf ] - } - } - - Method [ public method appendFrom ] { - - - Parameters [2] { - Parameter #0 [ $buf ] - Parameter #1 [ $len ] - } - } - - Method [ public method read ] { - - - Parameters [1] { - Parameter #0 [ $max_bytes ] - } - } - - Method [ public method expand ] { - - - Parameters [1] { - Parameter #0 [ $len ] - } - } - - Method [ public method prepend ] { - - - Parameters [1] { - Parameter #0 [ $data ] - } - } - - Method [ public method prependBuffer ] { - - - Parameters [1] { - Parameter #0 [ $buf ] - } - } - - Method [ public method drain ] { - - - Parameters [1] { - Parameter #0 [ $len ] - } - } - - Method [ public method copyout ] { - - - Parameters [2] { - Parameter #0 [ &$data ] - Parameter #1 [ $max_bytes ] - } - } - - Method [ public method readLine ] { - - - Parameters [1] { - Parameter #0 [ $eol_style ] - } - } - - Method [ public method search ] { - - - Parameters [3] { - Parameter #0 [ $what ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - } - } - - Method [ public method searchEol ] { - - - Parameters [2] { - Parameter #0 [ $start ] - Parameter #1 [ $eol_style ] - } - } - - Method [ public method pullup ] { - - - Parameters [1] { - Parameter #0 [ $size ] - } - } - - Method [ public method write ] { - - - Parameters [2] { - Parameter #0 [ $fd ] - Parameter #1 [ $howmuch ] - } - } - - Method [ public method readFrom ] { - - - Parameters [2] { - Parameter #0 [ $fd ] - Parameter #1 [ $howmuch ] - } - } - - Method [ public method substr ] { - - - Parameters [2] { - Parameter #0 [ $start ] - Parameter #1 [ $length ] - } - } - } - } - - Class [ final class EventDnsBase ] { - - - Constants [5] { - Constant [ integer OPTION_SEARCH ] { 1 } - Constant [ integer OPTION_NAMESERVERS ] { 2 } - Constant [ integer OPTION_MISC ] { 4 } - Constant [ integer OPTION_HOSTSFILE ] { 8 } - Constant [ integer OPTIONS_ALL ] { 15 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [9] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $initialize ] - } - } - - Method [ public method parseResolvConf ] { - - - Parameters [2] { - Parameter #0 [ $flags ] - Parameter #1 [ $filename ] - } - } - - Method [ public method addNameserverIp ] { - - - Parameters [1] { - Parameter #0 [ $ip ] - } - } - - Method [ public method loadHosts ] { - - - Parameters [1] { - Parameter #0 [ $hosts ] - } - } - - Method [ public method clearSearch ] { - - - Parameters [0] { - } - } - - Method [ public method addSearch ] { - - - Parameters [1] { - Parameter #0 [ $domain ] - } - } - - Method [ public method setSearchNdots ] { - - - Parameters [1] { - Parameter #0 [ $ndots ] - } - } - - Method [ public method setOption ] { - - - Parameters [2] { - Parameter #0 [ $option ] - Parameter #1 [ $value ] - } - } - - Method [ public method countNameservers ] { - - - Parameters [0] { - } - } - } - } - - Class [ final class EventListener ] { - - - Constants [5] { - Constant [ integer OPT_LEAVE_SOCKETS_BLOCKING ] { 1 } - Constant [ integer OPT_CLOSE_ON_FREE ] { 2 } - Constant [ integer OPT_CLOSE_ON_EXEC ] { 4 } - Constant [ integer OPT_REUSEABLE ] { 8 } - Constant [ integer OPT_THREADSAFE ] { 16 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [1] { - Property [ public $fd ] - } - - - Methods [8] { - Method [ public method __construct ] { - - - Parameters [6] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $cb ] - Parameter #2 [ $data ] - Parameter #3 [ $flags ] - Parameter #4 [ $backlog ] - Parameter #5 [ $target ] - } - } - - Method [ public method free ] { - - - Parameters [0] { - } - } - - Method [ public method enable ] { - - - Parameters [0] { - } - } - - Method [ public method disable ] { - - - Parameters [0] { - } - } - - Method [ public method setCallback ] { - - - Parameters [2] { - Parameter #0 [ $cb ] - Parameter #1 [ $arg ] - } - } - - Method [ public method setErrorCallback ] { - - - Parameters [1] { - Parameter #0 [ $cb ] - } - } - - Method [ public method getSocketName ] { - - - Parameters [2] { - Parameter #0 [ &$address ] - Parameter #1 [ &$port ] - } - } - - Method [ public method getBase ] { - - - Parameters [0] { - } - } - } - } - - Class [ final class EventHttpConnection ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [11] { - Method [ public method __construct ] { - - - Parameters [5] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ $dns_base ] - Parameter #2 [ $address ] - Parameter #3 [ $port ] - Parameter #4 [ EventSslContext $ctx ] - } - } - - Method [ public method getBase ] { - - - Parameters [0] { - } - } - - Method [ public method getPeer ] { - - - Parameters [2] { - Parameter #0 [ &$address ] - Parameter #1 [ &$port ] - } - } - - Method [ public method setLocalAddress ] { - - - Parameters [1] { - Parameter #0 [ $address ] - } - } - - Method [ public method setLocalPort ] { - - - Parameters [1] { - Parameter #0 [ $port ] - } - } - - Method [ public method setTimeout ] { - - - Parameters [1] { - Parameter #0 [ $timeout ] - } - } - - Method [ public method setMaxHeadersSize ] { - - - Parameters [1] { - Parameter #0 [ $max_size ] - } - } - - Method [ public method setMaxBodySize ] { - - - Parameters [1] { - Parameter #0 [ $max_size ] - } - } - - Method [ public method setRetries ] { - - - Parameters [1] { - Parameter #0 [ $retries ] - } - } - - Method [ public method makeRequest ] { - - - Parameters [3] { - Parameter #0 [ $req ] - Parameter #1 [ $type ] - Parameter #2 [ $uri ] - } - } - - Method [ public method setCloseCallback ] { - - - Parameters [2] { - Parameter #0 [ $callback ] - Parameter #1 [ $data ] - } - } - } - } - - Class [ final class EventHttp ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [11] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ EventBase $base ] - Parameter #1 [ EventSslContext $ctx ] - } - } - - Method [ public method accept ] { - - - Parameters [1] { - Parameter #0 [ $socket ] - } - } - - Method [ public method bind ] { - - - Parameters [2] { - Parameter #0 [ $address ] - Parameter #1 [ $port ] - } - } - - Method [ public method setCallback ] { - - - Parameters [3] { - Parameter #0 [ $path ] - Parameter #1 [ $cb ] - Parameter #2 [ $arg ] - } - } - - Method [ public method setDefaultCallback ] { - - - Parameters [2] { - Parameter #0 [ $cb ] - Parameter #1 [ $arg ] - } - } - - Method [ public method setAllowedMethods ] { - - - Parameters [1] { - Parameter #0 [ $methods ] - } - } - - Method [ public method setMaxBodySize ] { - - - Parameters [1] { - Parameter #0 [ $value ] - } - } - - Method [ public method setMaxHeadersSize ] { - - - Parameters [1] { - Parameter #0 [ $value ] - } - } - - Method [ public method setTimeout ] { - - - Parameters [1] { - Parameter #0 [ $value ] - } - } - - Method [ public method addServerAlias ] { - - - Parameters [1] { - Parameter #0 [ $alias ] - } - } - - Method [ public method removeServerAlias ] { - - - Parameters [1] { - Parameter #0 [ $alias ] - } - } - } - } - - Class [ final class EventHttpRequest ] { - - - Constants [11] { - Constant [ integer CMD_GET ] { 1 } - Constant [ integer CMD_POST ] { 2 } - Constant [ integer CMD_HEAD ] { 4 } - Constant [ integer CMD_PUT ] { 8 } - Constant [ integer CMD_DELETE ] { 16 } - Constant [ integer CMD_OPTIONS ] { 32 } - Constant [ integer CMD_TRACE ] { 64 } - Constant [ integer CMD_CONNECT ] { 128 } - Constant [ integer CMD_PATCH ] { 256 } - Constant [ integer INPUT_HEADER ] { 1 } - Constant [ integer OUTPUT_HEADER ] { 2 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [23] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $callback ] - Parameter #1 [ $data ] - } - } - - Method [ public method free ] { - - - Parameters [0] { - } - } - - Method [ public method getCommand ] { - - - Parameters [0] { - } - } - - Method [ public method getHost ] { - - - Parameters [0] { - } - } - - Method [ public method getUri ] { - - - Parameters [0] { - } - } - - Method [ public method getResponseCode ] { - - - Parameters [0] { - } - } - - Method [ public method getInputHeaders ] { - - - Parameters [0] { - } - } - - Method [ public method getOutputHeaders ] { - - - Parameters [0] { - } - } - - Method [ public method getInputBuffer ] { - - - Parameters [0] { - } - } - - Method [ public method getOutputBuffer ] { - - - Parameters [0] { - } - } - - Method [ public method sendError ] { - - - Parameters [2] { - Parameter #0 [ $error ] - Parameter #1 [ $reason ] - } - } - - Method [ public method sendReply ] { - - - Parameters [3] { - Parameter #0 [ $code ] - Parameter #1 [ $reason ] - Parameter #2 [ $buf ] - } - } - - Method [ public method sendReplyChunk ] { - - - Parameters [1] { - Parameter #0 [ $buf ] - } - } - - Method [ public method sendReplyEnd ] { - - - Parameters [0] { - } - } - - Method [ public method sendReplyStart ] { - - - Parameters [2] { - Parameter #0 [ $code ] - Parameter #1 [ $reason ] - } - } - - Method [ public method cancel ] { - - - Parameters [0] { - } - } - - Method [ public method addHeader ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $type ] - } - } - - Method [ public method clearHeaders ] { - - - Parameters [0] { - } - } - - Method [ public method removeHeader ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $type ] - } - } - - Method [ public method findHeader ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $type ] - } - } - - Method [ public method getBufferEvent ] { - - - Parameters [0] { - } - } - - Method [ public method getConnection ] { - - - Parameters [0] { - } - } - - Method [ public method closeConnection ] { - - - Parameters [0] { - } - } - } - } - - Class [ abstract final class EventUtil ] { - - - Constants [26] { - Constant [ integer AF_INET ] { 2 } - Constant [ integer AF_INET6 ] { 10 } - Constant [ integer AF_UNIX ] { 1 } - Constant [ integer AF_UNSPEC ] { 0 } - Constant [ integer SO_DEBUG ] { 1 } - Constant [ integer SO_REUSEADDR ] { 2 } - Constant [ integer SO_KEEPALIVE ] { 9 } - Constant [ integer SO_DONTROUTE ] { 5 } - Constant [ integer SO_LINGER ] { 13 } - Constant [ integer SO_BROADCAST ] { 6 } - Constant [ integer SO_OOBINLINE ] { 10 } - Constant [ integer SO_SNDBUF ] { 7 } - Constant [ integer SO_RCVBUF ] { 8 } - Constant [ integer SO_SNDLOWAT ] { 19 } - Constant [ integer SO_RCVLOWAT ] { 18 } - Constant [ integer SO_SNDTIMEO ] { 21 } - Constant [ integer SO_RCVTIMEO ] { 20 } - Constant [ integer SO_TYPE ] { 3 } - Constant [ integer SO_ERROR ] { 4 } - Constant [ integer SOL_SOCKET ] { 1 } - Constant [ integer SOL_TCP ] { 6 } - Constant [ integer SOL_UDP ] { 17 } - Constant [ integer SOCK_RAW ] { 3 } - Constant [ integer IPPROTO_IP ] { 0 } - Constant [ integer IPPROTO_IPV6 ] { 41 } - Constant [ integer LIBEVENT_VERSION_NUMBER ] { 33560064 } - } - - - Static properties [0] { - } - - - Static methods [7] { - Method [ static public method getLastSocketErrno ] { - - - Parameters [1] { - Parameter #0 [ $socket ] - } - } - - Method [ static public method getLastSocketError ] { - - - Parameters [1] { - Parameter #0 [ $socket ] - } - } - - Method [ static public method sslRandPoll ] { - - - Parameters [0] { - } - } - - Method [ static public method getSocketName ] { - - - Parameters [3] { - Parameter #0 [ $socket ] - Parameter #1 [ &$address ] - Parameter #2 [ &$port ] - } - } - - Method [ static public method getSocketFd ] { - - - Parameters [1] { - Parameter #0 [ $socket ] - } - } - - Method [ static public method setSocketOption ] { - - - Parameters [4] { - Parameter #0 [ $socket ] - Parameter #1 [ $level ] - Parameter #2 [ $optname ] - Parameter #3 [ $optval ] - } - } - - Method [ static public method createSocket ] { - - - Parameters [1] { - Parameter #0 [ $fd ] - } - } - } - - - Properties [0] { - } - - - Methods [1] { - Method [ abstract public method __construct ] { - } - } - } - - Class [ final class EventSslContext ] { - - - Constants [27] { - Constant [ integer SSLv3_CLIENT_METHOD ] { 2 } - Constant [ integer SSLv3_SERVER_METHOD ] { 6 } - Constant [ integer TLS_CLIENT_METHOD ] { 4 } - Constant [ integer TLS_SERVER_METHOD ] { 8 } - Constant [ integer TLSv11_CLIENT_METHOD ] { 9 } - Constant [ integer TLSv11_SERVER_METHOD ] { 10 } - Constant [ integer TLSv12_CLIENT_METHOD ] { 11 } - Constant [ integer TLSv12_SERVER_METHOD ] { 12 } - Constant [ integer OPT_LOCAL_CERT ] { 1 } - Constant [ integer OPT_LOCAL_PK ] { 2 } - Constant [ integer OPT_PASSPHRASE ] { 3 } - Constant [ integer OPT_CA_FILE ] { 4 } - Constant [ integer OPT_CA_PATH ] { 5 } - Constant [ integer OPT_ALLOW_SELF_SIGNED ] { 6 } - Constant [ integer OPT_VERIFY_PEER ] { 7 } - Constant [ integer OPT_VERIFY_DEPTH ] { 8 } - Constant [ integer OPT_CIPHERS ] { 9 } - Constant [ integer OPT_NO_SSLv2 ] { 10 } - Constant [ integer OPT_NO_SSLv3 ] { 11 } - Constant [ integer OPT_NO_TLSv1 ] { 12 } - Constant [ integer OPT_NO_TLSv1_1 ] { 13 } - Constant [ integer OPT_NO_TLSv1_2 ] { 14 } - Constant [ integer OPT_CIPHER_SERVER_PREFERENCE ] { 15 } - Constant [ integer OPT_REQUIRE_CLIENT_CERT ] { 16 } - Constant [ integer OPT_VERIFY_CLIENT_ONCE ] { 17 } - Constant [ string OPENSSL_VERSION_TEXT ] { OpenSSL 1.0.2j-fips 26 Sep 2016 } - Constant [ integer OPENSSL_VERSION_NUMBER ] { 268443823 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [2] { - Property [ public $local_cert ] - Property [ public $local_pk ] - } - - - Methods [1] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $method ] - Parameter #1 [ $options ] - } - } - } - } - } -} - diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..c87c63a --- /dev/null +++ b/package.xml @@ -0,0 +1,1071 @@ + + + event + pecl.php.net + Provides interface to libevent library + This is an extension to efficiently schedule I/O, time and signal based + events using the best I/O notification mechanism available for specific platform. + This is a port of libevent to the PHP infrastructure. + + Version 1.0.0 introduces: + * new OO API breaking backwards compatibility + * support of libevent 2+ including HTTP, DNS, OpenSSL and the event listener. + + Note, event-1.0.0 and greater is not compatible with previous versions. + + Ruslan Osmanov + osmanov + osmanov@php.net + yes + + + Anatol Belski + ab + ab@php.net + yes + + + Remi Collet + remi + remi@php.net + yes + + 2017-03-26 + + + 2.3.0 + 2.3.0 + + + stable + stable + + PHP + +Fixed build errors with LibreSSL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5.4.0 + + + 1.4.0a1 + + + libevent + pecl.php.net + 0.0.2 + + libevent + + + libevent + + + + + event + + + + + + + + + + + + + 2.3.0 + 2.3.0 + + + beta + beta + + PHP + +Fixed build errors with LibreSSL + + + + + 2.3.0RC1 + 2.3.0RC1 + + + beta + beta + + PHP + +Add: EventSslContext methods: setMinProtoVersion and setMaxProtoVersion for OpenSSL >= 1.1.0. +Add: EventSslContext constants: OPENSSL_VERSION_NUMBER and OPENSSL_VERSION_TEXT. +Fix: compilation warnings regarding OpenSSL features deprecated in version 1.0.0 and newer. +Deprecated: EventSslContext protocol version options are deprecated for OpenSSL >= 1.1.0. + Use the new setMinProtoVersion and setMaxProtoVersion methods instead. +Fix: build failed with custom openssl setup (non-standard --with-openssl-dir) + + + + + 2.2.1 + 2.2.0 + + + stable + stable + + PHP + +Fix: issue #31 where numeric file descriptor caused segmentation fault + + + + + 2.2.0 + 2.2.0 + + + stable + stable + + PHP + +Add: EventUtil::createSocket method(PHP5) +Add: EventListener::free method +Fix: issue #30 where building without SSL3 failed +Fix: the class property names were wrapped in double quotes + + + + + 2.1.0 + 2.1.0 + + + stable + stable + + PHP + +Add: EventUtil::SOCK_RAW constant +Add: EventSslContext option constants: OPT_REQUIRE_CLIENT_CERT and OPT_VERIFY_CLIENT_ONCE +Fix: EventBufferEvent::createPair caused segmentation fault in PHP7 +SSL Fixes: +- chained self-signed certificate failed to pass with EventSslContext::OPT_ALLOW_SELF_SIGNED = TRUE +- the server didn't set the list of CAs to be sent to the client when requesting a client certificate for underlying SSL structure +- EventSslContext::OPT_ALLOW_SELF_SIGNED = TRUE accepted any self-signed certificate without regard to OPT_CA_FILE/OPT_CA_PATH +Fix: PHP 7.1.0alpha1 build errors + + + + + 2.0.4 + 2.0.0 + + + stable + stable + + PHP + +Issue #28: event-2.0.3 Windows build fails + + + + + 2.0.3 + 2.0.0 + + + stable + stable + + PHP + +Issue #27: PHP > 7.0.6RC1 build fails + + + + + 2.0.2 + 2.0.0 + + + stable + stable + + PHP + +PHP7: fixed random EDOM errors in EventUtil::setSocketOption + + + + + 2.0.1 + 2.0.0 + + + stable + stable + + PHP + +PHP7: Protected user callbacks from destruction within libevent callbacks + + + + + 2.0.0 + 2.0.0 + + + stable + stable + + PHP + +Fixed some memory issues in PHP7 +- SSL leaks +- Possibility of implicit destruction of user vars +- Unclean SSL bufferevent shutdown +- EventBufferEvent::free() within a callback damaged zvals bound to corresponding bufferevent thereby causing SEGFAULT + +Fixed PHP5/PHP7 memory issue: string returned by EventBuffer::pullup() was not zero-terminated + + + + + 2.0.0RC2 + 2.0.0 + + + beta + stable + + PHP + +Fixed Mac OS X build errors + + + + + 2.0.0RC1 + 2.0.0 + + + beta + stable + + PHP + +PHP7 support added. + +Fixes: + - issue #23: memory leak in EventHttpConnection close callback + memory leaks in HTTP callbacks. + - Libevent 'unrecoverable' fatal errors(fixed by stopping the loop in EventBase free-storage handler). + +API changes: + - EventUtil::createSocket method added(PHP7) + - removed the first(EventBase) argument of EventBufferEvent::sslFilter method, since the internal EventBase object must match EventBase object within the underlying EventBufferEvent + + + + + 1.11.3 + 1.10.0 + + + stable + stable + + PHP + +Issue #20: SSL_GET_PREV_SESSION:session id context uninitialized + + + + + 1.11.2 + 1.10.0 + + + stable + stable + + PHP + +Issue #6: memory leaks in EventHttp callbacks +EventBufferEvent object returned by EventHttpRequest::getBufferEvent() should be freed explicitly, +if the method is called from a userspace callback. + + + + + 1.11.1 + 1.10.0 + + + stable + stable + + PHP + +Fixed build with old openssl (RHEL-5) (thanks to Remi Collet) + + + + + 1.11.0 + 1.10.0 + + + stable + stable + + PHP + +Fix: exceptions thrown from EventHttp and EventBufferEvent userspace callbacks were not passed through back to user. +Now the event loop will break and re-throw the exception. +Add: EventBase::free method +Add: EventBufferEvent methods: + - close + - sslGetCipherInfo + - sslGetCipherName + - sslGetCipherVersion + - sslGetProtocol +Add: EventSslContext options: + - OPT_NO_SSLv2 + - OPT_NO_SSLv3 + - OPT_NO_TLSv1 + - OPT_NO_TLSv1_1 + - OPT_NO_TLSv1_2 + - OPT_CIPHER_SERVER_PREFERENCE + - TLSv11_CLIENT_METHOD + - TLSv11_SERVER_METHOD + - TLSv12_CLIENT_METHOD + - TLSv12_SERVER_METHOD +(Thanks to Mathieu CARBONNEAUX @ bitbucket.org) +Issue #13: EventBufferEvent::__construct failed to accept a persistent +socket client(STREAM_CLIENT_PERSISTENT) + + + + + 1.10.4 + 1.9.0 + + + stable + stable + + PHP + +Fix: exceptions thrown from EventHttp and EventBufferEvent userspace callbacks were not passed through back to user. +Now the event loop will break and re-throw the exception. + + + + + 1.10.3 + 1.9.0 + + + stable + stable + + PHP + +Issue #8: pecl install failed due to the REST API issues with Unicode + + + + + 1.10.2 + 1.9.0 + + + stable + stable + + PHP + +Fix: EventBufferEvent::read() accepted negative values +Fix: TSRM context was not set in EventHttp::__construct (J. Fekete) +Fix: refcounter in EventHttp's default callback (J. Fekete) + + + + + 1.10.1 + 1.9.0 + + + stable + stable + + PHP + +Deleted a troublesome phpt test + + + + + 1.10.0 + 1.9.0 + + + stable + stable + + PHP + +Issue #3: Segmentation fault on EventHttpRequest->free() (Bitbucket's tracker). +Add: EventHttpConnection::__construct() now optionally accepts EventSslContext argument (Issue #5). +Add: EventHttp::__construct() now accepts EventSslContext object as argument. + + + + + 1.9.1 + 1.8.0 + + + stable + stable + + PHP + +Fix: return value of EventBase::reInit() was inverted +issue #7: PHP_EVENT_REQUIRE_BASE_BY_REF() didn't work in 5.6.0-dev (fixed by Remi Collet) + + + + + 1.9.0 + 1.8.0 + + + stable + stable + + PHP + +Windows support introduced(thanks to Anatol Belski <ab@php.net>) + +LIBEVENT_VERSION is now reported in phpinfo(Remi <remi@php.net>) + + Forced passing EventBase argument by reference. A method accepting EventBase + will generate fatal error in case if corresponding argument is not passed by + reference. + + EventBufferEvent::createPair method made static. + + + + + 1.8.1 + 1.8.0 + + + stable + stable + + PHP + +Fix: Bug #65847 Issue with old libevent2 where evhttp_connection_get_bufferevent function was not available with libevent version < 2.0.17 (thanks to Remi <remi@php.net>) + + + + + 1.8.0 + 1.8.0 + + + stable + stable + + PHP + +Add: EventHttpRequest methods: getBufferEvent, getConnection, closeConnection(thanks to rickysu at Bitbucket) +Add: EventHttpConnection::setCloseCallback method + + + + + 1.7.8 + 1.7.0 + + + stable + stable + + PHP + +Fix: build error on Solaris +Introduced negative dependencies: libevent extension, windows OS + + + + + 1.7.7 + 1.7.0 + + + stable + stable + + PHP + +Fix: incorrect handling of sockets extension dependency +(a hack for distros installing sockets separately) + + + + + 1.7.6 + 1.7.0 + + + stable + stable + + PHP + +Change: sockets extension is now required(see bug #65597). The user can still +turn off this requirement off explicitly with --disable-event-sockets configure +option + + + + + 1.7.5 + 1.7.0 + + + stable + stable + + PHP + +Fix: build error with custom libevent installation prefixes like /lib(John Wamer) + + + + + 1.7.4 + 1.7.0 + + + stable + stable + + PHP + +Fix: Segmentation fault caused by direct access to the zend object properties' hash table + + + + + 1.7.3 + 1.7.0 + + + stable + stable + + PHP + +Fix: in php_event.c write_property function was non-static +Fix: absence of get_gc property handler caused segfaults with gc_collect_cycles() + + + + + 1.7.2 + 1.7.0 + + + stable + stable + + PHP + +Fix: bug #65320 where we got build errors in attempts to compile event statically(thanks to florin) +Fix: bug #65319 where config.m4 used <php_version.h> to detect current PHP version +Fix: config.m4 included -levent_pthreads into LDFLAGS even --without-event-pthreads configuration +Fix: evthread_use_pthreads() call skept due to a "macro magic"(PHP_EVENT_ASSERT) + + + + + 1.7.1 + 1.7.0 + + + stable + stable + + PHP + +Fix: segmentation fault on gc_collect_cycles() after calling Event::free(), 5lava @ Bitbucket reported +Fix: assignment reference to "data" property caused 'Fatal error: Cannot assign by reference to overloaded object' +Fix: evnt object dtors sometimes didn't free the 'data' member until the script shutdown phase + + + + + 1.7.0 + 1.7.0 + + + stable + stable + + PHP + +Merged in 5lava/pecl-event (pull request #1) @bitbucket: +Fix: EventBufferEvent::setTimeouts() didn't work with double values +Fix: EventBuffer::copyout() didn't work in some cases +Add: EventBuffer::readFrom() method (corresponds to evbuffer_read()) +Add: EventUtil::getSocketFD() method + + + + + 1.6.2 + 1.6.0 + + + stable + stable + + PHP + +Fix: bug #64678 where Fedora Packaging Guidlines required LICENSE file +Fix: bug #64680 where we should check for SKIP_ONLINE_TESTS environment variable +Fix: bug #64679 where we had buffer overflow caused by struct sockaddr_storage * pointer + + + + + 1.6.1 + 1.6.0 + + + stable + stable + + PHP + +Fix: bug #64652 where Event::__construct returned valid object, however, with +uninitialized internal struct which caused segmentation faults in further +method calls + + + + + 1.6.0 + 1.6.0 + + + stable + stable + + PHP + +Fix: bug #64551 with build failed on Mac OS X +Fix: address argument of the listener accept callback contained garbage in case of a client connected via UNIX domain socket +Add: EventBuffer::write, EventUtil::setSocketOption methods and some constants +Refact: automatically set the upper bound of EventBuffer::search to the buffer length, if it is greater then the length +Fix: make the code compatible with PHP 5.5.0 .. 5.6.0-dev +Fix: build error with zts PHP setup +Fix: build error with libevent_extra disabled +Add: EventListener fd readonly property for numeric file descriptor of the socket associated with the listener +Add: EventBuffer::substr method + +INCOMPATIBLE CHANGES! +Renamed EventBuffer::remove to EventBuffer::read, EventBuffer::read now takes only max_bytes argument and returns string. +Renamed EventBuffer::removeBuffer to EventBuffer::appendFrom +EventBuffer::read now takes single argument 'size' and returns the string read + + + + + 1.5.1 + 1.5.0 + + + stable + stable + + PHP + +Fix: EventBuffer::removeBuffer returned boolean instead of the number of bytes read +Add: EventBuffer::fd property +Change: EventBuffer class is not final any more + + + + + 1.5.0 + 1.5.0 + + + stable + stable + + PHP + +Fix: uninitialized socket caused segmentation fault in EventBufferEvent methods +Del: EventBufferPosition class removed, EventBuffer::search now accepts and returns integers +Add: EventBuffer::searchEol method +Add: EventUtil::getSocketName method +Add: EventListener::getSocketName method +Fix: memory leak due to lack of zend_hash_destroy on the ssl context options +Add: support of UNIX domain sockets in EventListener::__construct, EventBufferEvent::connect methods + + + + + 1.4.0 + 1.4.0 + + + beta + beta + + PHP + +Add: HTTP server support: + * EventHttp methods: setMaxBodySize, setMaxHeadersSize, setTimeout, + addServerAlias, removeServerAlias setCallback, setDefaultCallback, + setAllowedMethods, setMaxBodySize, setMaxHeadersSize, setTimeout, + addServerAlias, removeServerAlias; + * EventHttpRequest class, callback and custom data can be bound to the + request for future use with EventHttpConnection + * New EventHttpConnection::makeRequest method allows to make custom HTTP + requests by means of EventHttpRequest class +Change: make EventDnsBase parameter optional in EventHttpConnection::__construct +Fix: classes/buffer_event.c: possible memory access violation in bufferevent callback +Fix: turn off buggy libevent thread lock debugging when built with --enable-event-debug + + + + + 1.3.0 + 1.3.1 + + + beta + beta + + PHP + +Fix: possible memory access violations in EventBufferEvent input/output property handlers +Change: Event::$timer_pending property removed; generic Event::$pending property added +Fix: With OPT_LEAVE_SOCKETS_BLOCKING flag EventListener::__construct turned fd to non-blocking mode +Fix: property and class HashTable's were not free'd in MSHUTDOWN +Add: Event::$data property +Fix: Event::__construct failed with Event::TIMEOUT flag +Fix: memory leak in EventBuffer::readLine +Add: --with-event-pthreads configure option +Fix: EventBase::reInit method's arginfo + + + + + 1.2.6 + 1.3.0 + + + beta + beta + + PHP + +Fix: with OpenSSL turned off got error: undefined symbol: zim_EventUtil_sslRandPoll +Add: implemented get_properties property handler(is called when one casts an object to array) +Refact: removed memory alloc for empty property hashtables +Fix: heap corruption caused by EventBufferEvent callbacks(thanks to Marco Schuster) +Fix: continuous calls to EventBufferEvent::setCallbacks didn't free old fci/fcc(thanks to Marco Schuster) +Fix: possible heap corruption in EventListener's callback +Add: EventBase::resume method + + + + + 1.2.3 + 1.2.0 + + + alpha + alpha + + PHP + +Fix: build errors +Fix: undefined symbol SSLv2_*_method when SL_OP_NO_SSLv2 defined + + + + + 1.2.0 + 1.2.0 + + + alpha + alpha + + PHP + +Fix: non-static zend_always_inline function failed to compile with some (non-zts) php setups +Change: static EventBuffer::addBuffer made non-static with one argument +Add: EventBuffer expand, prepend, prependBuffer, drain, copyout, readLine, search, +setPosition methods +Add: EventBufferPosition class +Fix: configure error in FreeBSD +Add: OpenSSL support: EventBufferEvent methods: sslFilter, sslSocket, sslError, sslRenegotiate; EventSslContext class +Add: EventBuffer::pullup method + + + + + 1.1.1 + 1.1.0 + + + devel + devel + + PHP + +Fix: the installer failed to determine location of src/common.h + + + + + 1.1.0 + 1.1.0 + + + devel + devel + + PHP + +Procedural API converted to OOP API + + + + + 1.0.1 + 1.0.0 + + + devel + devel + + PHP + +Fix: crash due to destruction of the internal bufferevent buffers (synced with oop branch) +Fix: extra memory consumption caused by continuous calls to bufferevent_get_input/_output +Fix: memory violation while parsing event_config_set_max_dispatch_interval parameters + + + + 2013-01-19 + + 1.0.0 + 1.0.0 + + + devel + devel + + PHP + +Libevent 2+ support added + + + + 2004-12-16 + + Wez Furlong + wez + wez@php.net + yes + + + 0.9.1 + 0.9.1 + + + beta + beta + + PHP + +Added event_timeout() function for easily scheduling a callback after a certain +period of time. The timeout may be persistent to make the callback a recurrent +event. + +Fixed an issue with timercmp() on windows that caused a busy wait when the +scheduler could have performed a sleep. + +Windows scheduling engine now also processes the message queue while +waiting; useful for COM/GUI based scripts. + +Fixed build for threaded systems with real signals. + +Supports epoll(4), poll(2) and select(2) IO notification engines. +Support for /dev/poll and kqueue is pending. + +On Windows, currently only sockets can participate in the IO notification engine. + + + + + + + 1.2.5 + 1.2.1 + + + 1.2.4 + 1.2.1 + + + alpha + alpha + + + alpha + alpha + + PHP + PHP + Fix: unneeded Z_ADDREF_P() calls in EventListener, EventBufferEvent constructors and factory methods +Fix: EventListener cached file descriptor for all connections +Change: EventBufferEvent enable/disable methods return bool now +Change: instead of stream pass numeric file descriptor to EventListener's accept-connection callback +Add: callbacks and the callback arg are now passed to EventBufferEvent::__construct as optional arguments + Fix: deleted redundant len argument of EventBuffer::readLine +Fix: EventBuffer::readLine returned non-dup'd string. Caused bugs with pointers. + + diff --git a/php-pecl-event.spec b/php-pecl-event.spec index f1dccce..3f86b5a 100644 --- a/php-pecl-event.spec +++ b/php-pecl-event.spec @@ -26,12 +26,12 @@ # After 20-sockets.so %global ini_name 40-%{pecl_name}.ini %endif -%global prever RC1 +#global prever RC1 Summary: Provides interface to libevent library Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 2.3.0 -Release: 0.3.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/event @@ -128,8 +128,6 @@ mv %{pecl_name}-%{version}%{?prever} NTS cd NTS # Sanity check, really often broken -sed -e '/PHP_EVENT_VERSION/s/2.0.3/2.0.4/' -i php?/php_event.h - DIR=$(%{__php} -r 'echo "php" . PHP_MAJOR_VERSION;') extver=$(sed -n '/#define PHP_EVENT_VERSION/{s/.* "//;s/".*$//;p}' $DIR/php_event.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -151,6 +149,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -179,6 +179,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} +%{?dtsenable} # use z-event.ini to ensure event.so load "after" sockets.so : Install the NTS stuff @@ -218,9 +219,12 @@ fi %endif %if %{with_tests} -# https://bitbucket.org/osmanov/pecl-event/issues/35/ssl-segmentation-fault -rm ?TS/tests/21-bevent-sslfilter.phpt -rm ?TS/tests/21-bevent-sslsocket.phpt +if pkg-config --atleast-version=1.1 openssl; then + # https://bitbucket.org/osmanov/pecl-event/issues/35/ssl-segmentation-fault + rm ?TS/tests/21-bevent-sslfilter.phpt + rm ?TS/tests/21-bevent-sslsocket.phpt + rm ?TS/tests/24-php5-bevent-sslfilter-error.phpt +fi cd NTS : Upstream test suite for NTS extension @@ -288,6 +292,9 @@ rm -rf %{buildroot} %changelog +* Sun Mar 26 2017 Remi Collet - 2.3.0-1 +- update to 2.3.0 (stable) + * Wed Feb 15 2017 Remi Collet - 2.3.0-0.3.RC1 - ignore 2 failed tests, fix FTBFS -- cgit