🐛 Bug Fixes:
- Fixed an issue in
SWOOLE_THREAD
mode where the process could not exit properly due to not removing the listening event. @NathanFreeman - Fixed an issue where large file uploads failed when the
single_thread
configuration was enabled. @matyhtf - Fixed an issue where compilation could not find the specific file path if the same variable was already defined in
config.m4
. @matyhtf - Fixed an issue in
Swoole\Process\Pool
where processes could not exit properly upon timeout. @matyhtf - Fixed an issue in
SWOOLE_THREAD
mode where callingputenv
caused the program to crash. @matyhtf - Fixed an issue in
SWOOLE_THREAD
mode where event callback functions could not be set for independent ports. @matyhtf - Fixed an issue in
SWOOLE_THREAD
mode where runtime parameters could not be retrieved in events such asonWorkerStart
. @matyhtf - Fixed an issue where Postgresql would degrade to synchronous mode when receiving large amounts of data under coroutine. @NathanFreeman
- Optimized the parameter judgment logic of
swoole_substr_json_decode
/swoole_substr_unserialize
functions. @Appla - Fixed an issue with CPU affinity settings in
config.m4
. @remicollet - Fixed an issue in
SWOOLE_THREAD
mode where the heartbeat detection did not function properly. @matyhtf
📢 Note:
- In the Http service, if the process restarts, the underlying layer will send a 500 Internal Server to requests waiting in the queue, close the connection, and discard these requests after sending. @NathanFreeman
- Since the runtime configuration relied upon by the
stream factory
andstream ops
in the PHP underlying is not thread-safe, in multi-thread mode, only the main thread is allowed to modify these runtime configurations before creating child threads. @matyhtf - Upgrade nghttp2 to the latest version. @NathanFreeman
😊 Thank you:
- Thank you for your contribution to
Swoole v6.0.1
. Wish you good health, all the best, and smooth work.
🐛 Bug修复:
- 修复
SWOOLE_THREAD
模式下,因为没有移除监听事件导致进程无法正常退出的问题。 @NathanFreeman - 修复当开启
single_thread
配置时,无法上传大文件的问题。 @matyhtf - 修复如果已经定义了
config.m4
中相同的变量,会导致编译过程找不到具体的文件路径的问题。 @matyhtf - 修复
Swoole\Process\Pool
中进程超时无法正常退出的问题。 @matyhtf - 修复
SWOOLE_THREAD
模式下,调用putenv
导致程序崩溃的问题。 @matyhtf - 修复
SWOOLE_THREAD
模式下,无法为独立的端口设置事件回调函数的问题。 @matyhtf - 修复
SWOOLE_THREAD
模式下,onWorkerStart
等事件中无法获取到运行时的各项参数的问题。 @matyhtf - 修复Postgresql在协程化下在接收大量数据会退化成同步模式下的问题。 @NathanFreeman
- 优化
swoole_substr_json_decode
/swoole_substr_unserialize
函数的参数判断逻辑。 @Appla - 修复
config.m4
中的CPU亲和性设置的问题。 @remicollet - 修复
SWOOLE_THREAD
模式下,心跳检测不起作用的问题。 @matyhtf
📢 注意:
- 在Http服务中,如果进程重启时,底层会发送500 Internal Server给队列中等待处理的请求,发送完毕就关闭连接并丢弃这些请求。 @NathanFreeman
- 由于php底层的
stream factory
和stream ops
依赖的运行时配置不是线程安全的,因此多线程模式下只允许主线程在还没创建子线程之前修改这些运行时配置。 @matyhtf - 升级nghttp2到最新版本。 @NathanFreeman
😊 致谢:
- 感谢你们为
Swoole v6.0.1
做出的贡献,祝愿大家身体健康,万事如意,工作顺利。