关于php:Swoole-v456-版本发布新增零拷贝-JSON-或-PHP-反序列化

8次阅读

共计 608 个字符,预计需要花费 2 分钟才能阅读完成。

Swoole v4.5.6 版本已公布,底层减少了 2 个非凡的函数

  • swoole_substr_json_decode
  • swoole_substr_unserialize

具体有什么用呢?查看 Swoole 4.5.6 反对零拷贝 JSON 或 PHP 反序列化

本篇只是阐明一下更新日志:

新增 API

  • 新增 swoole_substr_unserialize 和 swoole_substr_json_decode (#3762) (@matyhtf)

加强

  • 批改 CoroutineHttpServeronAccept 办法为公有 (dfcc83b) (@matyhtf)

修复

  • 修复 coverity 的问题 (#3737) (#3740) (@matyhtf)
  • 修复 Alpine 环境下的一些问题 (#3738) (@matyhtf)
  • 修复 swMutex_lockwait (0fc5665) (@matyhtf)
  • 修复 PHP-8.1 装置失败 (#3757) (@twose)

内核

  • Socket::read/write/shutdown 增加了活性检测 (#3735) (@matyhtf)
  • 将 session_id 和 task_id 的类型更改为 int64 (#3756) (@matyhtf)

最初

Swoole 正在加入 2020 年度 OSC 中国开源我的项目评比,记得给 Swoole 投票,投票中转链接:https://www.oschina.net/project/top_cn_2020#swoole-server

正文完
 0