{"action":"opened","issue":{"url":"https://api.github.com/repos/becvert/cordova-plugin-websocket-server/issues/20","repository_url":"https://api.github.com/repos/becvert/cordova-plugin-websocket-server","labels_url":"https://api.github.com/repos/becvert/cordova-plugin-websocket-server/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/becvert/cordova-plugin-websocket-server/issues/20/comments","events_url":"https://api.github.com/repos/becvert/cordova-plugin-websocket-server/issues/20/events","html_url":"https://github.com/becvert/cordova-plugin-websocket-server/issues/20","id":195799742,"number":20,"title":"Crash on disconnect between iOS server and Android client","user":{"login":"bugnano","id":299634,"avatar_url":"https://avatars.githubusercontent.com/u/299634?v=3","gravatar_id":"","url":"https://api.github.com/users/bugnano","html_url":"https://github.com/bugnano","followers_url":"https://api.github.com/users/bugnano/followers","following_url":"https://api.github.com/users/bugnano/following{/other_user}","gists_url":"https://api.github.com/users/bugnano/gists{/gist_id}","starred_url":"https://api.github.com/users/bugnano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugnano/subscriptions","organizations_url":"https://api.github.com/users/bugnano/orgs","repos_url":"https://api.github.com/users/bugnano/repos","events_url":"https://api.github.com/users/bugnano/events{/privacy}","received_events_url":"https://api.github.com/users/bugnano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-15T13:00:55Z","updated_at":"2016-12-15T13:00:55Z","closed_at":null,"body":"The situation is the following:\r\nServer: iOS cordova-plugin-websocket-server version 1.3.0\r\nClient: Android Crosswalk version 21 (based on Chromium version 51), native WebSocket client.\r\n\r\nThe connection is made correctly, the data is sent and received correctly on both ends, but when the client disconnects (by calling connection.close() without arguments), the server crashes.\r\n\r\nThe strange part is that the server does not crash if both the server and the client are iOS (unless there was an error in my iOS to iOS testing...).\r\n\r\nAlso, as I use this plugin to implement a real-time multiplayer game, I have found a latency issue that only affects iOS (when testing both server and client on Android, the ping is around 6mS, when either the server or the client, or both run iOS, the ping is much higher, and varies continuously between 20mS and 500mS). Any idea on why this latency problem related to iOS happens?"}}
{"actor":{"display_login":"bugnano"}}