-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Crash... #89
Comments
I don't have too much info... it happens sporadicly on the same device.. about 1 out of 20 connections. I am using nginx + golang gorilla + golang gin as the backend. |
Alright. Next time it happens try grabbing your stack trace. Would help in debugging the problem. |
I think this happens when calling connect() method from websocketDidDisconnect ... |
Alright, I can say with some confidence that it isn't the connect() call in the |
I have checked. The connect() method and creation of WebSocket objects are created in the same thread, but i have the same problem. May be something is wrong in another place? |
ok good to know. Only being a release build makes me think it might be something like #77. I might merge this issue with that one, since they seem related. |
Merging with #77. |
The following code crashes in Websocket.swift, line 500
value of dataLength is 256
value of offset is 4
value of buffer len is 3
the new len will be -1 which gives an error due to Uint64 conversion.
The text was updated successfully, but these errors were encountered: