We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21bd89 commit 9cc5ea9Copy full SHA for 9cc5ea9
cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/util/Operator.java
@@ -166,7 +166,8 @@ public <T> Mono<T> parseBody(Class<T> bodyType) {
166
public <T> Flux<T> parseBodyToFlux(Function<HttpClientResponseWithBody, Publisher<T>> responseTransformer) {
167
return this.responseReceiver.responseConnection((response, connection) -> {
168
attachChannelHandlers(response, connection);
169
- ByteBufFlux body = connection.inbound().receive();
+ ByteBufFlux body = ByteBufFlux.fromInbound(connection.inbound().receive()
170
+ .doFinally(signalType -> connection.dispose()));
171
172
return Mono.just(HttpClientResponseWithBody.of(body, response));
173
})
0 commit comments