{"action":"created","issue":{"url":"https://api.github.com/repos/radu-matei/websocket-manager/issues/52","repository_url":"https://api.github.com/repos/radu-matei/websocket-manager","labels_url":"https://api.github.com/repos/radu-matei/websocket-manager/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/radu-matei/websocket-manager/issues/52/comments","events_url":"https://api.github.com/repos/radu-matei/websocket-manager/issues/52/events","html_url":"https://github.com/radu-matei/websocket-manager/issues/52","id":295518565,"number":52,"title":"Socket still live after client disconnect","user":{"login":"FabioMorcillo","id":10965812,"avatar_url":"https://avatars1.githubusercontent.com/u/10965812?v=4","gravatar_id":"","url":"https://api.github.com/users/FabioMorcillo","html_url":"https://github.com/FabioMorcillo","followers_url":"https://api.github.com/users/FabioMorcillo/followers","following_url":"https://api.github.com/users/FabioMorcillo/following{/other_user}","gists_url":"https://api.github.com/users/FabioMorcillo/gists{/gist_id}","starred_url":"https://api.github.com/users/FabioMorcillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabioMorcillo/subscriptions","organizations_url":"https://api.github.com/users/FabioMorcillo/orgs","repos_url":"https://api.github.com/users/FabioMorcillo/repos","events_url":"https://api.github.com/users/FabioMorcillo/events{/privacy}","received_events_url":"https://api.github.com/users/FabioMorcillo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-08T13:49:46Z","updated_at":"2018-03-18T14:03:08Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nWhen client lost connection because crash or modem shutdown, server continue with socket in memory and OnDisconnected event in websockethandler is never executed.\r\n\r\nIn statup have configuration to keepaliveinterval = 60 seconds, but after this time, socket continue in memory and OnDisconnected event is never executed.\r\n\r\nAnyhere have solution to detect when socket client crash to remove socket from memory or make other actions ?\r\n\r\nThank you,"},"comment":{"url":"https://api.github.com/repos/radu-matei/websocket-manager/issues/comments/374001645","html_url":"https://github.com/radu-matei/websocket-manager/issues/52#issuecomment-374001645","issue_url":"https://api.github.com/repos/radu-matei/websocket-manager/issues/52","id":374001645,"user":{"login":"jcyuan","id":850854,"avatar_url":"https://avatars0.githubusercontent.com/u/850854?v=4","gravatar_id":"","url":"https://api.github.com/users/jcyuan","html_url":"https://github.com/jcyuan","followers_url":"https://api.github.com/users/jcyuan/followers","following_url":"https://api.github.com/users/jcyuan/following{/other_user}","gists_url":"https://api.github.com/users/jcyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/jcyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcyuan/subscriptions","organizations_url":"https://api.github.com/users/jcyuan/orgs","repos_url":"https://api.github.com/users/jcyuan/repos","events_url":"https://api.github.com/users/jcyuan/events{/privacy}","received_events_url":"https://api.github.com/users/jcyuan/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T14:03:08Z","updated_at":"2018-03-18T14:03:08Z","author_association":"NONE","body":"@awosztyl thank you, I have just read it.\r\nbut I wonder why only catch the exception for \"All\" method eg. sendmessagetoALLasync\r\nthis error will only occur when the server wants to deal with the client. so what if the server does not send any thing to the client for a long time?\r\n\r\nby the way I have a question, what is the correct way to pass the current logged-in user to the WebSocketHandler?"}}
{"actor":{"display_login":"jcyuan"}}