CoExchangeFilterFunction introduces potential memory leak if coroutine is cancelled #34210
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
theme: kotlin
An issue related to Kotlin support
We are seeing leak logs similar to the below on a regular basis in a production application which uses a number of WebClient filters implemented with CoExchangeFilterFunction. Appears that a leak can occur if coroutine is cancelled in the filter function.
Example application reproducing the issue can be found here.
Example output:
The text was updated successfully, but these errors were encountered: