fix: handle reconnections by closing previous transport before connecting #35

Merged
elvis merged 1 commit from fix-sse-connection-error into main 2026-06-01 20:09:29 +00:00
Owner

This PR fixes the 'Already connected to a transport' error by closing the previous transport before establishing a new SSE connection.

Changes

  • Check if a transport already exists when a new SSE GET request arrives
  • If exists, attempt to close it gracefully before creating a new connection
This PR fixes the 'Already connected to a transport' error by closing the previous transport before establishing a new SSE connection. ## Changes - Check if a transport already exists when a new SSE GET request arrives - If exists, attempt to close it gracefully before creating a new connection
fix: handle reconnections by closing previous transport before connecting
All checks were successful
Run Unit Tests / test (pull_request) Successful in 2m41s
705fce5d74
elvis merged commit 94bf969537 into main 2026-06-01 20:09:29 +00:00
elvis deleted branch fix-sse-connection-error 2026-06-01 20:09:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
elvis/actual-mcp!35
No description provided.