{"action":"closed","issue":{"url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/519","repository_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO","labels_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/519/comments","events_url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/issues/519/events","html_url":"https://github.com/miguelgrinberg/Flask-SocketIO/issues/519","id":247391297,"number":519,"title":"how to close or shutdown a connection?","user":{"login":"includedhj","id":6733296,"avatar_url":"https://avatars2.githubusercontent.com/u/6733296?v=4","gravatar_id":"","url":"https://api.github.com/users/includedhj","html_url":"https://github.com/includedhj","followers_url":"https://api.github.com/users/includedhj/followers","following_url":"https://api.github.com/users/includedhj/following{/other_user}","gists_url":"https://api.github.com/users/includedhj/gists{/gist_id}","starred_url":"https://api.github.com/users/includedhj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/includedhj/subscriptions","organizations_url":"https://api.github.com/users/includedhj/orgs","repos_url":"https://api.github.com/users/includedhj/repos","events_url":"https://api.github.com/users/includedhj/events{/privacy}","received_events_url":"https://api.github.com/users/includedhj/received_events","type":"User","site_admin":false},"labels":[{"id":79522651,"url":"https://api.github.com/repos/miguelgrinberg/Flask-SocketIO/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-02T13:36:04Z","updated_at":"2017-08-03T09:14:09Z","closed_at":"2017-08-03T09:14:09Z","body":"hi \r\n    when i test my program ,i met some interesting question.\r\n    Android   client connect to server. when  kill client, tcp connect state change ESTABLISHED to CLOSE_WAIT..\r\n    Client send FIN to server  when client abort, server call disconnect() to send ACK to client,but client has gone away ,so server keep  CLOSE_WAIT status.\r\n    i guess i must close connestion by call close(fd) or shutdown in on_disconnect .\r\n    but what should i do ? thx\r\n   \r\n    "}}
{"actor":{"display_login":"includedhj"}}