fix: uncomment emitter.complete() to close stream for custom protocol
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m41s

This commit is contained in:
jade
2026-08-10 15:36:55 +09:00
parent 5fa086531d
commit 25f55e4455

View File

@@ -220,7 +220,7 @@ public class CustomWebMvcSseServerTransportProvider implements McpServerTranspor
// Custom 프로토콜: 1회 요청당 1응답 후 종료 (스트림을 닫아버림)
// 클라이언트가 한 번의 POST 후 응답을 받고 연결을 끊기 때문
// this.emitter.complete();
this.emitter.complete();
}
} catch (Exception e) {
log.error("Error sending message to SSE emitter", e);