Enforce use of unpooled data buffers for WebFlux on 5.0.x [SPR-17501] #22033
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Rossen Stoyanchev opened SPR-17501 and commented
Many of the fixes to prevent leaking pooled data buffers (e.g. #21941) cannot be backported to 5.0.x which cannot use the
doOnDiscard
hook introduced in reactor-core 3.2. The goal for this ticket is to prevent the issue in 5.0.x by using unpooled buffers by default, and by copying and not retaining any buffers received from the Reactor Netty side.Affects: 5.0.10
Referenced from: commits 18da718
The text was updated successfully, but these errors were encountered: