Skip to content

Exception in "inboundClientChannel" interceptor for DISCONNECT prevents broker from learning about it [SPR-12218] #16832

@spring-projects-issues

Description

@spring-projects-issues

Rob Winch opened SPR-12218 and commented

If an exception is thrown in ChannelInterceptor.preSend on DISCONNECT, then the following error is reported when sending to destinations a user has subscribed:

SubProtocolWebSocketHandler[ERROR] - No session for ...

Even if an Exception is thrown in ChannelInterceptor.preSend on DISCONNECT the user mapping should be cleaned up. One option to clean this up would be to use a ApplicationListener<SessionDisconnectEvent>


Affects: 4.1 GA

Referenced from: commits ceb79c9, 371d93b

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions