{"full_name":"swoole/swoole-src","owner":"swoole","name":"swoole-src","shard":"1","url":"https://github.com/swoole/swoole-src","description":"🚀 Coroutine-based concurrency library for PHP","homepage":"https://www.swoole.com","topics":["swoole","coroutines","php","websocket","event","concurrency"],"tag_pages":["concurrency","php","websocket"],"language":"C++","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/8121270?v=4","created_at":"2012-07-21T13:49:59Z","pushed_at":"2026-11-15T10:40:19Z","metrics":{"stars":18937,"forks":3151,"watchers":793,"issues":3773,"prs":2503,"releases":273,"issues_open":4,"issues_closed":3769,"prs_open":19,"prs_closed":435,"prs_merged":2049,"discussions":93},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[18935,18936,18939,18938,18938,18937,18937],"forks":[3149,3152,3152,3152,3152,3151,3151],"watchers":[null,null,793,793,793,793,793],"issues_open":[null,null,2,2,3,3,4],"prs_open":[null,null,18,18,18,20,19]},"boards":{},"same_owner":[],"issues":[{"number":6139,"title":"SIGTERM 平滑退出时过早移除 worker pipe 读事件，导致已提交 Task 的 onFinish 丢失","comments":5,"created_at":"2026-08-04T10:38:36Z"},{"number":6409,"title":"HTTP/2 server does not send WINDOW_UPDATE, so responses larger than 64 KiB are reset by the peer","comments":2,"created_at":"2026-11-13T08:18:47Z"},{"number":6390,"title":"taskWaitMulti() segfaults with string-keyed task array when enable_coroutine is false (regression since 6.1.0)","comments":2,"created_at":"2026-11-11T15:07:26Z"},{"number":6414,"title":"macos 下 PHP 8.4.12 协程中使用异或出现段错误","comments":1,"created_at":"2026-11-15T09:14:08Z"}],"discussions":[{"number":6207,"title":"Preferred workflow for remaining bug fixes","comments":3,"category":"General","created_at":"2026-09-08T07:18:58Z"},{"number":5979,"title":"High load when many persistent Redis clients reconnect simultaneously to Swoole\\Redis\\Server","comments":0,"category":"General","created_at":"2026-01-18T15:44:54Z"},{"number":5954,"title":"wnmp One-click installation of Swoole 6.1.4 is now supported in PHP 8.5.","comments":1,"category":"General","created_at":"2025-12-13T23:57:15Z"},{"number":5874,"title":"coroutine questions","comments":1,"category":"Q&A","created_at":"2025-10-05T21:00:25Z"},{"number":5872,"title":"Where to init DB Pool?","comments":1,"category":"Q&A","created_at":"2025-10-02T10:54:22Z"},{"number":5870,"title":"For Pooling, which is best Channel Or splQueue ?","comments":0,"category":"Q&A","created_at":"2025-09-30T16:30:53Z"},{"number":5831,"title":"xdebug - what is a trick to get breakpoints working after coroutine?","comments":0,"category":"Q&A","created_at":"2025-07-26T15:51:55Z"},{"number":5806,"title":"Is there any way to limit execution time of a request?","comments":1,"category":"Q&A","created_at":"2025-06-25T06:20:52Z"}],"latest_release":{"name":"v6.2.5","tag":"v6.2.5","published_at":"2026-11-07T02:33:10Z","body":"- Fix the release of suspended cURL handles after the request is closed.\r\n- Fix the cleanup of the `CURLOPT_PRIVATE` option in `curl_reset()`.\r\n- Fix the inheritance of blocked signals by PHP worker threads and server worker threads.\r\n- Fix the restoration of signal actions before the listener is removed.\r\n- Fix the resume lifecycle of queued cURL requests.\r\n- Fix the test client's acceptance of platform-specific connection failures.\r\n- Fix the scheduling issue of process pool synchronous worker threads.\r\n- Fix the reset of signal listener state in forked child processes.\r\n- Fix the client's check of socket state before connection pooling.\r\n- Fix the issue of coroutines registering SIGCHLD in the reactor thread context.\r\n- Fix the exit logic of process pool worker processes on timeout (ETIMEDOUT).\r\n- Fix the underflow issue in the HTTP packet length limit.\r\n- Fix the handling of HTTP body boundaries and the 100 Continue status.\r\n- Fix the ignoring of blocked signals in the main thread and server worker threads.\r\n- Fix the preservation of the signal mask when starting background threads.\r\n- Fix the discarding of HTTP request trailers on the maintenance branch.\r\n- Fix the rejection of reserved HTTP upload header names assembled from split reads.\r\n- Fix the issue of the HTTP client retaining request errors on repeated closes.\r\n- Fix the rejection of client-provided HTTP upload file markers (security fix).\r\n- Fix the buffer boundary and DATA frame handling issues in HTTP/2.\r\n- Fix the issue of pgsql query waiting cancellation.\r\n- Fix the write stall issue after HTTP/2 stream termination.\r\n- Fix the enforcement of connection timeouts in the PDO pgsql driver.\r\n- Fix the packet boundary validation issue in the process pool (ProcessPool).\r\n- Log and report the peer's clean TLS shutdown (`SSL_ERROR_ZERO_RETURN`) as `SW_ERROR_SSL_RESET`, so upper layers treat it as an SSL reset.\r\n\r\n## 简体中文\r\n- 修复请求关闭后挂起 cURL 句柄的释放问题。\r\n- 修复 `curl_reset()` 中 `CURLOPT_PRIVATE` 选项的清理问题。\r\n- 修复 PHP 工作线程和服务器工作线程对阻塞信号的继承问题。\r\n- 修复监听器移除前信号动作的恢复问题。\r\n- 修复排队 cURL 请求的恢复生命周期问题。\r\n- 修复测试客户端对平台特定连接失败的接受问题。\r\n- 修复进程池同步工作线程的调度问题。\r\n- 修复 fork 出的子进程中信号监听器状态的重置问题。\r\n- 修复客户端在连接池化前对套接字状态的检查问题。\r\n- 修复协程在 reactor 线程上下文中注册 SIGCHLD 的问题。\r\n- 修复进程池工作进程在超时（ETIMEDOUT）时的退出逻辑问题。\r\n- 修复 HTTP 数据包长度限制中的下溢问题。\r\n- 修复 HTTP 主体边界和 100 Continue 状态的处理问题。\r\n- 修复主线程和服务器工作线程中忽略阻塞信号的问题。\r\n- 修复启动后台线程时信号掩码的保留问题。\r\n- 修复维护分支上 HTTP 请求 trailer 被丢弃的问题。\r\n- 修复由分片读取拼装而成的保留 HTTP 上传头名称被拒绝的问题。\r\n- 修复 HTTP 客户端在重复关闭时保留请求错误的问题。\r\n- 修复客户端提供的 HTTP 上传文件标记被拒绝的问题（安全修复）。\r\n- 修复 HTTP/2 中的缓冲区边界和 DATA 帧处理问题。\r\n- 修复 pgsql 查询等待取消的问题。\r\n- 修复 HTTP/2 流终止后的写入停滞问题。\r\n- 修复 PDO pgsql 驱动中连接超时的强制执行问题。\r\n- 修复进程池（ProcessPool）中的数据包边界验证问题。\r\n- 将对端干净的 TLS 关闭（`SSL_ERROR_ZERO_RETURN`）记录并报告为 `SW_ERROR_SSL_RESET`，以便上层将其视为 SSL 重置。","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}