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

bug when using startls #9

Open
junko2013 opened this issue Dec 27, 2023 · 0 comments
Open

bug when using startls #9

junko2013 opened this issue Dec 27, 2023 · 0 comments

Comments

@junko2013
Copy link

XmppWebSocketIo has a bug. When secure is used, the _socket stream has been closed and data can no longer be sent to the server. At this time, calling the write method cannot send it. The solution is to add a new SecureSocket? _secureSocket; object and assign it in the secure method, and then determine whether _secureSocket is empty when writing. If it is not empty, call _secureSocket.write to send data.

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