github swoole/swoole-src v6.1.10

3 hours ago
  • Fixed the issue in SWOOLE_THREAD mode where Swoole\Server could not start if the set() method was not called.

  • Fixed a NULL pointer dereference when querying port attributes during server shutdown due to a NULL ListenPort pointer.

  • Fixed an issue where a Hooked TLS stream completes the handshake in Socket::connect(). When this call fails or is canceled, the stream transport layer should return failure directly instead of attempting to enable encryption again.

  • Fixed an issue where the coroutine HTTP server still returned success when the protocol setting was rejected or accept failed.

  • Fixed an issue where HTTP compression used the wrong data format when returning deflate encoding.

  • Fixed an issue where, when native hook was not enabled, destroying a native CurlHandle did not hand the object destruction work back to ext-curl, resulting in incorrect destruction logic.

  • Fixed an issue in cURL multi under the CURL_POLL_INOUT state where the event mask for "both readable and writable" was not correctly restored, causing HTTP/2 duplex transmission to be repeatedly woken up when blocked by flow control, forming a busy loop.

  • Fixed the lack of timeout support for atomic wait/wakeup on the Windows platform.

  • Fixed an issue where, after enabling send_yield, the peer closing the connection prevented the coroutine from being woken up, causing a coroutine leak.

  • 修复了SWOOLE_THREAD模式下,Swoole\Server如果没调用 set() 方法,程序就启动不了的问题。

  • 修复在关闭服务器时,因 ListenPort 指针为 NULL 导致查询端口属性时发生空指针解引用(NULL pointer dereference)的问题。

  • 修复被 HookTLS 流在 Socket::connect() 中完成握手。当这个调用失败或被取消时,流传输层应该直接返回失败,而不是再次尝试启用加密的问题。

  • 修复了协程 HTTP 服务器在协议设置被拒绝或 accept 失败时仍返回成功的问题。

  • 修复了HTTP 压缩在返回 deflate 编码时用错了数据格式的问题。

  • 修复在未启用原生 hook 的情况下,销毁一个原生 CurlHandle 时,底层没有把对象释放工作交回给 ext-curl,导致释放逻辑不正确的问题。

  • 修复cURL multiCURL_POLL_INOUT 状态下,没有正确恢复“同时可读可写”的事件掩码,导致 HTTP/2 双向传输(duplex)在流控阻塞时反复被唤醒,形成忙循环。

  • 修复在 Windows 平台下原子操作(Atomic)wait/wakeup 超时支持缺失问题。

  • 修复开启 send_yield 后,对端关闭连接导致协程无法被唤醒而发生协程泄露的问题。

Don't miss a new swoole-src release

NewReleases is sending notifications on new releases.