Make HttpComponentsAsyncClientHttpRequest abortable [SPR-14845] #19411
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Alessandro Ciccimarra opened SPR-14845 and commented
In HttpComponentsAsyncClientHttpRequest, the inner class HttpResponseFutureCallback has an empty cancelled() callback method. It should call httpRequest.abort() to be able to clean resources when we cancel the future, shouldn't it?
A possible simple implementation in the attached Gist.
Affects: 4.3.3
Reference URL: https://gist.github.com/alex859/59e5489b5e20eed03d456f8c41114786
Referenced from: commits b6b5366, 8f84446
The text was updated successfully, but these errors were encountered: