File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
mcp/src/main/java/io/modelcontextprotocol/client/transport Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -423,10 +423,6 @@ public Mono<Void> sendMessage(McpSchema.JSONRPCMessage sentMessage) {
423423 }).flatMapMany (requestBuilder -> Flux .<ResponseEvent >create (responseEventSink -> {
424424
425425 // Create the async request with proper error handling and timeout
426- // The key insight: the response body is consumed by the BodySubscriber
427- // and flows through responseEventSink
428- // The CompletableFuture<HttpResponse<Void>> completes when headers are
429- // received, not when body is consumed
430426 Mono .fromFuture (() -> this .httpClient .sendAsync (requestBuilder .build (),
431427 this .toSendMessageBodySubscriber (responseEventSink )))
432428 .doOnSuccess (response -> {
You can’t perform that action at this time.
0 commit comments