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

iOS 14.7.1 Socket automatically close #630

Open
cxz137131304 opened this issue Sep 22, 2021 · 0 comments
Open

iOS 14.7.1 Socket automatically close #630

cxz137131304 opened this issue Sep 22, 2021 · 0 comments

Comments

@cxz137131304
Copy link

I encountered that after creating the socket, it was automatically closed after 5-10 seconds.

My iphone system: iOS 14.7.1; sdk version:0.6.0

first step: I create a socket and open it, it wrok well;
second step: I close the previous socket,Then I create a new socket and open it. Wait for 5-10 seconds,I receive delegate (webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean), this socket close without any reason;
third step: I create a new socket again, and open it,now the new socket work well.

What the second socket wokr wrong? This BUG is inevitable.

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

No branches or pull requests

1 participant