Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

If WebSocket from server side is disconnected abruptly then Disconnect from client is not working #4

@vagesh-mathapati

Description

@vagesh-mathapati

Hi,

I have WebSocket STOMP server written in SpringBoot. If WebSocket from server side is disconnected abruptly then then I am observing that subscription channels are still in stuck state and websocket are still running at client side. To stop/terminate we invoked Disconnect() of "github.com\drawdy\[email protected]\disconnect.go" which is internally invoking shutdown() of "github.com\drawdy\[email protected]\connection.go" but in this method it is getting stuck at "c.subsLock.Lock()" .

Can you please let me know what are the ways to close the Stomp and Websocket connection from client side in this situation?

Thanks
Vagesh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions