Skip to content

If you close a websocket client before it has connected, the socket remains open #347

@oakkitten

Description

@oakkitten

if i use a workaround technique of #346, i can get the onClose call. but if i attempt to close connection before it's been established (i.e. before onOpen) call, the socket remains open long after onClose

it might be related to the fact that Threads with SocketChannels, when used with SSL, do not get interrupt()ed. in my app, i have to close the socket to interrupt such a thread.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions