You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mcp-spring/mcp-spring-webflux/src/main/java/io/modelcontextprotocol/server/transport/WebFluxSseServerTransportProvider.java
-5
Original file line number
Diff line number
Diff line change
@@ -370,11 +370,6 @@ public Mono<Void> closeGracefully() {
Copy file name to clipboardExpand all lines: mcp-spring/mcp-spring-webmvc/src/main/java/io/modelcontextprotocol/server/transport/WebMvcSseServerTransportProvider.java
-14
Original file line number
Diff line number
Diff line change
@@ -401,20 +401,6 @@ public Mono<Void> closeGracefully() {
401
401
});
402
402
}
403
403
404
-
/**
405
-
* Closes the transport immediately.
406
-
*/
407
-
@Override
408
-
publicvoidclose() {
409
-
try {
410
-
sseBuilder.complete();
411
-
logger.debug("Successfully completed SSE builder for session {}", sessionId);
412
-
}
413
-
catch (Exceptione) {
414
-
logger.warn("Failed to complete SSE builder for session {}: {}", sessionId, e.getMessage());
0 commit comments