RestClient hangs when Destination closes Connection during Request Body Upload #34707
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: waiting-for-triage
An issue we've not yet triaged or decided on
The client continues to block despite the receiving server having closed the connection already.
Reproduced on Spring Boot version 3.4.4
Works with 3.3.10, likely because that doesn't use
io.projectreactor.netty:reactor-netty-http
.Sample application reproducing the bug: https://github.com/mspiess/http-client-bug-reproduction
Find the necessary steps in that repository's
README.md
.Excuse the convoluted setup, but I have been unable to reproduce it outside of docker.
The deprecated
exchangeTimeout
onReactorClientHttpRequestFactory
can be used to force a timeout, but the connection is still leaked.The other timeout options seem to have no effect.
The text was updated successfully, but these errors were encountered: