Skip to content

Add default handling for disconnected client errors to Spring MVC #33763

Closed
@rstoyanchev

Description

@rstoyanchev

Spring MVC has default handling for AsyncRequestNotUsableException after #33225 which is raised by our response wrapper when the response fails during an async request. However, the Servlet container may also notify via onError of the IOException, and if that gets through first, it remains unresolved, and that brings unnecessary logging.

WebFlux has default handling for disconnected client errors. We need to add similar in Spring MVC.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions