Skip to content

Commit 54792f6

Browse files
release swoole v6.1.3 (#5941)
1 parent dae0f5b commit 54792f6

File tree

3 files changed

+25
-14
lines changed

3 files changed

+25
-14
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
22
project(libswoole)
33

44
enable_language(ASM)
5-
set(SWOOLE_VERSION 6.1.2)
5+
set(SWOOLE_VERSION 6.1.3)
66

77
set(CMAKE_CXX_STANDARD 14)
88
set(CMAKE_CXX_STANDARD_REQUIRED ON)

include/swoole_version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
#define SWOOLE_MAJOR_VERSION 6
2222
#define SWOOLE_MINOR_VERSION 1
23-
#define SWOOLE_RELEASE_VERSION 2
23+
#define SWOOLE_RELEASE_VERSION 3
2424
#define SWOOLE_EXTRA_VERSION ""
25-
#define SWOOLE_VERSION "6.1.2"
26-
#define SWOOLE_VERSION_ID 60102
25+
#define SWOOLE_VERSION "6.1.3"
26+
#define SWOOLE_VERSION_ID 60103
2727
#define SWOOLE_API_VERSION_ID 0x202208a
2828

2929
#define SWOOLE_BUG_REPORT \

package.xml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
<email>[email protected]</email>
5050
<active>yes</active>
5151
</developer>
52-
<date>2025-11-11</date>
53-
<time>23:00:00</time>
52+
<date>2025-11-26</date>
53+
<time>10:00:00</time>
5454
<version>
55-
<release>6.1.2</release>
55+
<release>6.1.3</release>
5656
<api>6.0</api>
5757
</version>
5858
<stability>
@@ -61,13 +61,21 @@
6161
</stability>
6262
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
6363
<notes>
64-
- No longer throw warnings when failing to set the `socket` receive/send buffer size
65-
- Fixed an issue in `Swoole\Http\Server` where the `onClose` callback might execute before `onRequest` when handling `HTTP2` requests, leading to a use-after-free problem
66-
- Optimized the `getSocket()` method by duplicating the file descriptor when exporting the `php sockets` resource object, preventing `php sockets` from affecting the `socket` held by `Swoole` upon closure
67-
- Fixed a memory leak issue in `Swoole\Async\Client`
68-
- Fixed an issue where `Swoole\Coroutine\Http\Client` of `IPv6` type could not use `Socks5` proxy
69-
- Synchronized updates to adapt to relevant changes in the `CURL` extension in `PHP 8.4`
70-
- Added the `async.file://` file protocol, which allows enabling coroutine scheduling for specific file operations even when global file coroutine support is disabled
64+
- Fixed Safari Browser Compatibility Issue: Resolved a flow control compatibility issue in HTTP/2 servers when sending large files to Safari browsers.
65+
- Fixed Data Race in Date Response Header Caching: Addressed a data race issue in the `Date` response header caching of HTTP/2 servers in multi-threaded mode.
66+
- Fixed `package_max_length` Configuration Not Taking Effect:
67+
- The server now returns a `413 Payload Too Large` error when the `Content-Length` in the received `Header` frame exceeds the configured value.
68+
- The server sends an `HTTP/2 RST_STREAM` frame to terminate the stream when the total length of consecutively received `Data` frames exceeds the configured value.
69+
- Fixed Memory Out-of-Bounds in Multi-threaded Coroutine Mode: Resolved a memory out-of-bounds issue when enabling `enable_reuse_port` in the multi-threaded coroutine version of the `HTTP/2` server.
70+
- Fixed TLS Variable Destruction Issue: Addressed a `double free` issue occurring during the destruction of `TLS (Thread Local Storage)` variables when threads exited in the multi-threaded `HTTP/2` server.
71+
- Fixed Packet Assembly Exception in `Redis\Server::format()` When Processing Large Strings.
72+
- Fixed Control Frame Data Contamination Issue: Resolved an issue where automatically replied `ping`/`pong`/`close` control frames in the `WebSocket` server carried residual data from previous text or binary frames due to uncleared cache.
73+
- Fixed Data Race in `swoole_get_task_tmpdir()`: Addressed a data race issue when calling this function in a multi-threaded environment.
74+
- Fixed Memory Out-of-Bounds Access in Runtime Hooks: Resolved a memory out-of-bounds access issue triggered when setting runtime hooks in a multi-threaded environment.
75+
- Important Change: Runtime hooks can now only be set in the main thread and must be configured before creating any child threads.
76+
- Fixed FreeBSD Compilation Failure: Resolved compilation failures on FreeBSD systems.
77+
- Added Android Platform Support: Improved compatibility with the Android platform, now supporting execution in the Termux environment.
78+
- Synchronized PHP 8.x cURL Module Updates: Adapted to relevant updates in the `cURL` extension for PHP versions 8.1, 8.2, and 8.3.
7179
</notes>
7280
<contents>
7381
<dir name="/">
@@ -1471,6 +1479,7 @@
14711479
<file role="test" name="tests/swoole_http2_client_coro/set-cookies.phpt" />
14721480
<file role="test" name="tests/swoole_http2_client_coro/sock_type_unix.phpt" />
14731481
<file role="test" name="tests/swoole_http2_client_coro/wrong_headers.phpt" />
1482+
<file role="test" name="tests/swoole_http2_server/413.phpt" />
14741483
<file role="test" name="tests/swoole_http2_server/big_data.phpt" />
14751484
<file role="test" name="tests/swoole_http2_server/compression.phpt" />
14761485
<file role="test" name="tests/swoole_http2_server/compression_types.phpt" />
@@ -1709,6 +1718,7 @@
17091718
<file role="test" name="tests/swoole_http_server/worker_max_concurrency.phpt" />
17101719
<file role="test" name="tests/swoole_http_server/zstd.phpt" />
17111720
<file role="test" name="tests/swoole_http_server_coro/bad_request.phpt" />
1721+
<file role="test" name="tests/swoole_http_server_coro/buffer_clear.phpt" />
17121722
<file role="test" name="tests/swoole_http_server_coro/bug_2682.phpt" />
17131723
<file role="test" name="tests/swoole_http_server_coro/bug_3025.phpt" />
17141724
<file role="test" name="tests/swoole_http_server_coro/bug_4519.phpt" />
@@ -1970,6 +1980,7 @@
19701980
<file role="test" name="tests/swoole_redis_server/empty.phpt" />
19711981
<file role="test" name="tests/swoole_redis_server/format.phpt" />
19721982
<file role="test" name="tests/swoole_redis_server/getHandler.phpt" />
1983+
<file role="test" name="tests/swoole_redis_server/large_data_map.phpt" />
19731984
<file role="test" name="tests/swoole_redis_server/nested_map.phpt" />
19741985
<file role="test" name="tests/swoole_runtime/accept.phpt" />
19751986
<file role="test" name="tests/swoole_runtime/accept_timeout.phpt" />

0 commit comments

Comments
 (0)