github swoole/swoole-src v6.0.1

latest release: v5.1.7...
8 days ago

🐛 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 calling putenv 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 as onWorkerStart. @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 and stream 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 factorystream ops依赖的运行时配置不是线程安全的,因此多线程模式下只允许主线程在还没创建子线程之前修改这些运行时配置。 @matyhtf
  • 升级nghttp2到最新版本。 @NathanFreeman

😊 致谢:

  • 感谢你们为Swoole v6.0.1做出的贡献,祝愿大家身体健康,万事如意,工作顺利。

Don't miss a new swoole-src release

NewReleases is sending notifications on new releases.