Skip to content

AbstractClientSockJsSession.close call does not propagate IOException from disconnect [SPR-16415] #20961

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-16415 and commented

AbstractClientSockJsSession.close and in particular AbstractClientSockJsSession.close(CloseReason) do not propagate an IOException from the disconnect attempt to the caller, despite the intention in their signature. While internal close attempts need to swallow and log such exceptions, explicit API calls should propagate them as expected.


Affects: 4.3.14, 5.0.3

Issue Links:

Backported to: 4.3.15

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions