Releases: swoole/swoole-src
Releases · swoole/swoole-src
v4.8.10
v4.8.9
v4.8.8
v4.8.7
v4.8.6
v4.8.5
v4.8.4
v4.8.3
- Fixed compatibility of curl native hook with PHP-8.1
- Fixed compatibility of sockets hook with PHP-8
- Fixed the return value error of sockets hook function
- Added Coroutine\Socket::isClosed()
- Fixed Http2Server sendfile cannot set content-type
- Optimize performance of HttpServer date header
中文
- 修复 curl native hook 在 php8.1 版本下的兼容性问题
- 修复 sockets hook 在 php8 下的兼容性问题
- 修复 sockets hook 函数返回值错误
- 增加 Coroutine\Socket::isClosed() 方法
- 修复 Http2Server sendfile 无法设置 content-type
- 优化 HttpServer date header 的性能,增加了 cache
v4.8.2
- Fixed memory leak of
proc_open
hook - Fixed compatibility of curl native hook with PHP-8.0 and PHP-8.1
- Fixed connection cannot be closed normally in the Manager process
- Fixed Manager process cannot use
sendMessage
- Fixed
Coroutine\Http\Server
received abnormally large POST data parsing - Fixed cannot exit directly when a fatal error occurs in PHP8 environment
- Adjust coroutine max_concurrency option, only allowed to be used in
Co::set()
- Adjust
Coroutine::join()
to ignore non-exists coroutine
中文
- 修复 proc_open hook 内存泄露的问题
- 修复 curl native hook 与 PHP-8.0、PHP-8.1 的兼容性问题
- 修复 Manager 进程中无法正常关闭连接的问题
- 修复 Manager 进程无法使用 sendMessage 的问题
- 修复
Coroutine\Http\Server
接收超大 POST 数据解析异常的问题 - 修复 PHP8 环境下致命错误时进行不能直接退出的问题
- 调整 coroutine
max_concurrency
配置项,只允许在Co::set()
中使用 - 调整
Coroutine::join()
忽略不存在的协程
v4.8.1
New APIs
Enhancement
- Migrate admin api from ext-swoole_plus to swoole-src (#4441) (@matyhtf)
- Added get_composer_packages command for admin server (swoole/library@07763f46) (swoole/library@8805dc05) (swoole/library@175f1797) (@sy-records) (@yunbaoi)
- Added POST method request restrictions for write operations (swoole/library@ac16927c) (@yunbaoi)
- Supported to get the method information of the class by get_function_info (swoole/library@690a1952) (@djw1028769140) (@sy-records)
- Optimized admin server code (swoole/library#128) (swoole/library#131) (@sy-records)
- Supported to request multiple groups of server information for admin server (swoole/library#124) (@sy-records)
- Supported to get interface info for admin server (swoole/library#130) (@sy-records)
- Supported CURLOPT_HTTPPROXYTUNNEL for SWOOLE_HOOK_CURL (swoole/library#126) (@sy-records)
Fixed
- Prohibit coroutine concurrent join (#4442) (@matyhtf)
- Fixed init_row, don't clear lock_ and lock_pid (#4446) (@Txhua) (@matyhtf)
- Fixed missing helper options (swoole/library#123) (@sy-records)
- Fixed get_static_property_value command error (swoole/library#129) (@sy-records)