Skip to content

SCServerSocket.kickOut doesn't modify channelSubscriptions #29

@Aareksio

Description

@Aareksio

https://github.com/SocketCluster/socketcluster-server/blob/master/scserversocket.js#L498

SCServerSocket.kickOut doesn't modify channelSubscriptions list making calling SCServerSocket.subscriptions return a list including channels the client is no longer subscribed to.

Moreover, it doesn't affect SCServerSocket.channelSubscriptionsCount, which may eventually lead to exceeding SCServer.socketChannelLimit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions