fix: uncomment emitter.complete() to close stream for custom protocol
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m41s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m41s
This commit is contained in:
@@ -220,7 +220,7 @@ public class CustomWebMvcSseServerTransportProvider implements McpServerTranspor
|
|||||||
|
|
||||||
// Custom 프로토콜: 1회 요청당 1응답 후 종료 (스트림을 닫아버림)
|
// Custom 프로토콜: 1회 요청당 1응답 후 종료 (스트림을 닫아버림)
|
||||||
// 클라이언트가 한 번의 POST 후 응답을 받고 연결을 끊기 때문
|
// 클라이언트가 한 번의 POST 후 응답을 받고 연결을 끊기 때문
|
||||||
// this.emitter.complete();
|
this.emitter.complete();
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("Error sending message to SSE emitter", e);
|
log.error("Error sending message to SSE emitter", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user