mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-27 10:25:50 +03:00
[PR #306] [MERGED] fix(stream):修复流被客户端关闭的时候的写入错误导致服务crash的问题 #331
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#331
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/306
Author: @majie776
Created: 2/5/2026
Status: ✅ Merged
Merged: 2/5/2026
Merged by: @justlovemaki
Base:
main← Head:main📝 Commits (1)
2816de1fix(stream):修复流被客户端关闭的时候的写入错误导致服务crash的问题📊 Changes
6 files changed (+292 additions, -77 deletions)
View changed files
📝
src/handlers/ollama-handler.js(+112 -42)📝
src/plugins/api-potluck/middleware.js(+15 -2)📝
src/ui-modules/event-broadcast.js(+18 -2)📝
src/ui-modules/oauth-api.js(+20 -8)📝
src/utils/common.js(+118 -19)📝
src/utils/logger.js(+9 -4)📄 Description
修复流被客户端关闭的时候的写入错误导致服务crash的问题
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.