Commit Graph
2 Commits
Author SHA1 Message Date
lukaszraczyloandGitHub af1a64aaa3 fix(passthrough): send event-stream headers before the first event (#19)
The passthrough proxy wrote the status line but flushed only on the first
body write. An MCP server-to-client stream (GET with text/event-stream)
can stay silent for a long time, so the client did not get the response
headers. Traefik in front of the standalone gateway waited for its 20m
responseHeaderTimeout and then returned 504.

The proxy now flushes the headers at once when the upstream answers with
text/event-stream.
2026-11-27 10:46:22 +00:00
lukaszraczyloandGitHub 04600a7bc9 fix(mcp): stop the progress watchdog cutting idle MCP event streams (#14)
MCP GET event streams (the server-to-client channel) now run without the progress watchdog and are ended by the client, the upstream or Gateway.DrainIdleStreams.
The standalone binary drains them on shutdown and when a config reload retires a gateway, so they do not hold either open.
2026-11-26 20:20:43 +00:00