mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
98ed1dfcf8
DisconnectedClientHelper identifies lost connection issues, but it's not always easy to know if it is the connection to the client or to another remote host. DisconnectedClientHelper does recognize and filter out common client exceptions, but there is a possibility for other similar custom exceptions. DefaultHandlerExceptionResolver now attempts to set the status to 500, which won't impact a client that has gone away, but it will set the status correct on the off chance that the exception is actually a server side issue. Closes gh-34481