Force disconnection of TCP connection

PR - updated - thanks all for the good discussion.

Now

  • request node
    msg.reset = true; - resets all connections;.
    msg.reset = "host:port"; - just resets that specified connection.

  • Out node in reply mode
    msg.reset = true; and no msg._session.id - resets all clients;
    msg.reset = true; and msg._session.id is set - resets specified client.

3 Likes