Skip to content

Commit

Permalink
Update version for Swoole 4.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
twose committed Sep 25, 2019
1 parent 8eae9c6 commit 3698a36
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PROJECT(libswoole)

ENABLE_LANGUAGE(ASM)
SET(SWOOLE_VERSION 4.4.6)
SET(SWOOLE_VERSION 4.4.7)
SET(SWOOLE_CLFLAGS pthread rt dl ssl crypt crypto)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
Expand Down
1 change: 1 addition & 0 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ if test "$PHP_SWOOLE" != "no"; then
src/coroutine/hook.cc \
src/coroutine/socket.cc \
src/coroutine/system.cc \
src/coroutine/thread_context.cc \
src/coroutine/ucontext.cc \
src/lock/atomic.c \
src/lock/cond.c \
Expand Down
4 changes: 2 additions & 2 deletions include/swoole.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ int clock_gettime(clock_id_t which_clock, struct timespec *t);
#define SWOOLE_MAJOR_VERSION 4
#define SWOOLE_MINOR_VERSION 4
#define SWOOLE_RELEASE_VERSION 7
#define SWOOLE_EXTRA_VERSION "alpha"
#define SWOOLE_VERSION "4.4.7-alpha"
#define SWOOLE_EXTRA_VERSION ""
#define SWOOLE_VERSION "4.4.7"
#define SWOOLE_VERSION_ID 40407
#define SWOOLE_BUG_REPORT \
"A bug occurred in Swoole-v" SWOOLE_VERSION ", please report it.\n"\
Expand Down
30 changes: 12 additions & 18 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
<email>[email protected]</email>
<active>yes</active>
</developer>
<date>2019-09-18</date>
<time>21:00:00</time>
<date>2019-09-25</date>
<time>16:00:00</time>
<version>
<release>4.4.6</release>
<release>4.4.7</release>
<api>4.0</api>
</version>
<stability>
Expand All @@ -56,24 +56,15 @@
<notes>
Enhancement
---
+ Support max_request_grace (#2784) (#2808) (#2809) (@sshymko)
+ Add SameSite Cookie (@2815) (@Yurunsoft)
+ Support curl_multi_getcontent, CURLOPT_AUTOREFERER for curl hook, add ignore options (#2817) (@2818) (@2819) (@limingxinleo)
+ Support CURLOPT_SSLVERSION and CURLINFO_HEADER_OUT (f2b4c93) (@matyhtf)
+ AIO thread safe (@matyhtf)
+ Optimize numeric type conversion (aa20913) (@twose)
+ Compatibly with diseval extension for library (8b7eb16) (@GXhua)
+ Support thread context (9214411c) (@matyhtf)
+ Generate a warning if the channel has producers or consumers when the program exits (b9f37d9c) (@twose)

Fixed
---
* Fixed missing http headers (#2786) (@doubaokun)
* Defensive programming for signal callback (@twose)
* Fixed getProcess memory error (#2801) (@matyhtf)
* Fixed compilation on MacOS (@matyhtf)
* Fixed Coroutine\System methods (97c1444) (@twose)
* Fixed AIO thread task stuck (@matyhtf)
* Fixed HTTP2 HEADER_TABLE_SIZE (@twose)
* Fixed spurious waking of socket (d0b659a) (@matyhtf)
* Fixed reactor send bug (a1dc95f5) (@matyhtf)
* Fixed event init bug (907c84b3) (@matyhtf)
* Fixed crash on Cygwin (cfb74793) (@matyhtf)
* Fixed wrong length of string (c4f97993) (@twose)
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -130,6 +121,7 @@
<file role="src" name="core-tests/samples/s1.cc" />
<file role="src" name="core-tests/server/tcp.php" />
<file role="src" name="core-tests/src/client.cpp" />
<file role="src" name="core-tests/src/coroutine/async.cpp" />
<file role="src" name="core-tests/src/coroutine/base.cpp" />
<file role="src" name="core-tests/src/coroutine/channel.cpp" />
<file role="src" name="core-tests/src/coroutine/gethostbyname.cpp" />
Expand Down Expand Up @@ -270,6 +262,7 @@
<file role="doc" name="examples/coroutine/waitgroup.php" />
<file role="doc" name="examples/coroutine/websocket/client.php" />
<file role="doc" name="examples/coroutine/websocket/server.php" />
<file role="doc" name="examples/cpp/co.cc" />
<file role="doc" name="examples/cpp/mt_co.cc" />
<file role="doc" name="examples/cpp/test_server.c" />
<file role="doc" name="examples/db_pool.php" />
Expand Down Expand Up @@ -560,6 +553,7 @@
<file role="src" name="src/coroutine/hook.cc" />
<file role="src" name="src/coroutine/socket.cc" />
<file role="src" name="src/coroutine/system.cc" />
<file role="src" name="src/coroutine/thread_context.cc" />
<file role="src" name="src/coroutine/ucontext.cc" />
<file role="src" name="src/lock/atomic.c" />
<file role="src" name="src/lock/cond.c" />
Expand Down
2 changes: 2 additions & 0 deletions src/core/error.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ const char* swoole_strerror(int code)
return "Aio bad request";
case SW_ERROR_AIO_CANCELED:
return "Aio canceled";
case SW_ERROR_AIO_TIMEOUT:
return "Aio timeout";
case SW_ERROR_CLIENT_NO_CONNECTION:
return "Client no connection";
case SW_ERROR_SOCKET_CLOSED:
Expand Down
1 change: 1 addition & 0 deletions swoole.cc
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ PHP_MINIT_FUNCTION(swoole)
SW_REGISTER_LONG_CONSTANT("SWOOLE_ERROR_HTTP2_STREAM_NOT_FOUND", SW_ERROR_HTTP2_STREAM_NOT_FOUND);
SW_REGISTER_LONG_CONSTANT("SWOOLE_ERROR_AIO_BAD_REQUEST", SW_ERROR_AIO_BAD_REQUEST);
SW_REGISTER_LONG_CONSTANT("SWOOLE_ERROR_AIO_CANCELED", SW_ERROR_AIO_CANCELED);
SW_REGISTER_LONG_CONSTANT("SWOOLE_ERROR_AIO_TIMEOUT", SW_ERROR_AIO_TIMEOUT);
SW_REGISTER_LONG_CONSTANT("SWOOLE_ERROR_CLIENT_NO_CONNECTION", SW_ERROR_CLIENT_NO_CONNECTION);
SW_REGISTER_LONG_CONSTANT("SWOOLE_ERROR_SOCKET_CLOSED", SW_ERROR_SOCKET_CLOSED);
SW_REGISTER_LONG_CONSTANT("SWOOLE_ERROR_SOCKS5_UNSUPPORT_VERSION", SW_ERROR_SOCKS5_UNSUPPORT_VERSION);
Expand Down

0 comments on commit 3698a36

Please sign in to comment.