Skip to content

v6.1.13

Choose a tag to compare

@NathanFreeman NathanFreeman released this 17 Nov 12:51
fbc69b3
  • Fixed an fd leak caused by file descriptors not being released when a coroutine Socket is closed.

  • Fixed an issue in recv_with_length_protocol where dirty data remained in the HTTP parsing offset.

  • Fixed the segmentation fault caused by passing an associative array to the taskWaitMulti method.

  • Fixed an issue where the main thread's signal handler was incorrectly cleared upon child thread exit.

  • Fixed an issue where mysqlnd failed to recognize Hooked Unix Socket connections.

  • Fixed the HTTP/2 connection initial window size, changing it to the standard 65535.

  • Fixed a worker busy loop caused by unhandled EPOLLERR on c-ares DNS sockets.

  • Fixed a lack of validation for truncated GOAWAY frames in HTTP/2.

  • Fixed a connection count boundary calculation error in SWOOLE_BASE mode.

  • Fixed an issue where the coroutine timeout array was allocated by bytes instead of the number of elements.

  • Fixed an issue where the active ID was not restored after a timer callback threw an exception.

  • Fixed a security vulnerability where task packet metadata was unpacked without validation.

  • Fixed an issue where residual files were not cleaned up after a task file write failure.

  • Fixed a lack of length boundary restrictions in TLS wildcard domain name comparison.

  • Fixed a risk of unbounded memory allocation during URL encoding.

  • Fixed an issue where the HTTP client did not reject truncated responses at EOF.

  • Fixed a dangling pointer issue caused by not detaching the global timer before release.

  • 修复协程 Socket 关闭时文件描述符未释放导致的 fd 泄漏。

  • 修复 recv_with_length_protocol 中 HTTP 解析偏移量残留脏数据的问题。

  • 修复taskWaitMulti方法传入关联数组导致段错误的问题。

  • 修复子线程退出时误清主线程信号处理器的问题。

  • 修复 mysqlnd 无法识别被 Hook 的 Unix Socket 连接。

  • 修复 HTTP/2 连接窗口初始值,改为标准的 65535。

  • 修复 c-ares DNS 套接字上 EPOLLERR 未处理导致 worker 忙循环。

  • 修复 HTTP/2 对长度不足的 GOAWAY 帧未做校验的问题。

  • 修复 SWOOLE_BASE 模式下连接数边界计算错误。

  • 修复协程超时数组按字节而非元素个数分配大小的问题。

  • 修复定时器回调抛异常后 active ID 未恢复的问题。

  • 修复 task 数据包元数据未校验就直接 unpack 的安全隐患。

  • 修复 task 文件写入失败后未清理残留文件。

  • 修复 TLS 通配符域名比对缺少长度边界限制。

  • 修复 URL 编码时内存分配无上限的风险。

  • 修复 HTTP 客户端在 EOF 时未拒绝截断响应的问题。

  • 修复全局定时器释放前未先 detach 导致的悬空指针。