github swoole/swoole-src v6.2.2

2 hours ago
  • Refactored the communication between multi-thread pools from Pipe to Unix Socket to enhance the reliability of high-concurrency transmission for asynchronous file operations.

  • Resolved sporadic segmentation faults when Worker parses HTTP parameters, eliminating the risk of process crashes.

  • Fixed a fatal Error::__toString error during the PHP request shutdown (rshutdown) phase when interacting with the database.

  • Fixed the Poll event initialization exception after coroutine conversion of pdo_pgsql, ensuring the stability of blocking mode.

  • Removed duplicate and redundant Server property configurations in Swoole\Coroutine\Http\Server.

  • Fixed an issue in Swoole\ArrayObject::valid() where, under PHP 8.5, using null as the key parameter for array_key_exists() would trigger a deprecation warning: "Using null as the key parameter for array_key_exists() is deprecated."

  • 将多线程池之间的通信方式从 Pipe 重构为 Unix Socket,以增强异步文件操作在高并发传输场景下的可靠性。

  • 解决了 Worker 解析 HTTP 参数时偶发的段错误问题,消除了进程崩溃的风险。

  • 修复了在与数据库交互时,PHP 请求关闭(rshutdown)阶段出现的 Error::__toString 致命错误。

  • 修复了 pdo_pgsql 在协程化转换后 Poll 事件初始化异常的问题,确保了阻塞模式的稳定性。

  • 移除了 Swoole\Coroutine\Http\Server 中重复且冗余的 Server 属性配置。

  • 修复了 Swoole\ArrayObject::valid() 在 PHP 8.5 下的一个问题:当使用 null 作为 array_key_exists() 的键参数时会触发弃用警告:"将 null 用作 array_key_exists() 的键参数已被弃用。"

Don't miss a new swoole-src release

NewReleases is sending notifications on new releases.