Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onclose event not raised when websocket is closed #30

Open
GoogleCodeExporter opened this issue Apr 29, 2015 · 0 comments
Open

onclose event not raised when websocket is closed #30

GoogleCodeExporter opened this issue Apr 29, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

According to the standard, a browser must send 0xff00 to signal to the remote 
peer that it wants to close the socket. Chrome don't send this chucnk (buggy).
This is why we get 'Disconnected' message from sipML5 when the pending (ghost) 
connection is really closed by the server (e.g. activity) while the current is 
active.
Workaround: check if the closed event is from the active stack


Original issue reported on code.google.com by boss...@yahoo.fr on 29 May 2012 at 5:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant