-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Mykola Varahash opened SPR-16636 and commented
Currently, when user tries to consume response body content in the following way:
WebClient client = ...;
Mono<Void> result = client.get().retrieve().bodyToMono(Void.class);
result.block();
and a response actually contains body content, then the underlying http connection will not be closed and returned to connections pool.
Affects: 5.0.4
Issue Links:
- Fix behavior of ClientResponse bodyToMono and bodyToFlux with Void.class [SPR-16018] #20567 Fix behavior of ClientResponse bodyToMono and bodyToFlux with Void.class
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug