Refine logic to release WebSocket ByteBuffer via Callback with Jetty 12 #31182
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
In Jetty 12, WebSocket handling methods that take
ByteBuffer
also takeCallback
and that needs to be called to release the buffer. On the WebFlux side we could use ourDataBuffer
abstraction to wrap and carry theCallback
so it can be called when released. On the WebMvc side we don't have anything equivalent and will likely need to make a copy.The text was updated successfully, but these errors were encountered: