Skip to content

Review DataBuffer handling in Servlet and Undertow server adapters [SPR-17410] #21943

Closed
@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-17410 and commented

For Reactor Netty, we can drop onDiscard from server request, since Reactor Netty is expected to handle this. Likewise for the Undertow which does not use Reactor Core upstream for the server request body.

Review the use of data buffers in the Reactive Streams adapter layer to ensure discarding of in-flight data buffers on error and cancellation.


Affects: 5.0.10, 5.1.1

This issue is a sub-task of #21941

Referenced from: commits 862dd23, 0e8ed59, 36510cf, 8de86b7

Backported to: 5.0.11

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions