-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
2.3.18.Final
-
None
-
None
-
-
Migration
Hi,
While preparing the next release of Spring Framework and Spring Boot, I think we discovered a regression introduced by Undertow 2.3.18.Final. It looks like Reactive endpoints where the request body is read and the response is delayed ends up with an empty response body most of the time while it is was working as expected with Undertow 2.3.17.Final and previous versions.
I have attached a reproducer, but to give an idea, please find below the kind of endpoints that now fails:
@RestControllerpublic class DemoController { @PostMapping("/post") Mono<String> post(@RequestBody String text) { return Mono.just(text).delayElement(Duration.ofMillis(10)); } }
Notice we are unsure if Undertow 2.3.18.Final is expected to be used as it is tagged and published on Maven Central but does not appear on https://github.com/undertow-io/undertow/releases and is mentioned in the bug tracker as a non-released version. The Spring team would appreciate some guidance on which versions we are expected to leverage.