Skip to content

Commit fb107f6

Browse files
committed
Remove unnecessary comments
1 parent 6a5eb43 commit fb107f6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mcp/src/main/java/io/modelcontextprotocol/client/transport/HttpClientStreamableHttpTransport.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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 -> {

0 commit comments

Comments
 (0)