Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ else if (line.startsWith(":")) {
logger.debug("Ignoring comment line: {}", line);
upstream().request(1);
}
else if (line.startsWith("retry:")) {
// Ignore SSE retry directive — only the server controls reconnection
logger.debug("Ignoring retry directive: {}", line);
upstream().request(1);
}
else {
// If the response is not successful, emit an error
this.sink.error(new McpTransportException(
Expand Down