Commit Graph
1 Commits
Author SHA1 Message Date
Arun Babu Neelicattu e9d0fc365a fix(server): abort non-streaming requests on client disconnect (#2898)
Client drops during non-streaming inference left the backend computing
the abandoned request to completion, holding the slot for other clients.
The connection-liveness checker now propagates through the request scope
so the upstream transfer aborts promptly.

The documented guarantee covers the OpenAI non-streaming endpoints only;
the Anthropic/Ollama/MCP gateways and streaming Omni are excluded and
remain future work. The C++ regression suite covers the abort via a
mock backend.
2026-09-28 19:01:36 +00:00