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

Websocket code refactory and bugfix #201

Merged
merged 9 commits into from
Jun 22, 2020
Merged

Websocket code refactory and bugfix #201

merged 9 commits into from
Jun 22, 2020

Conversation

abitmore
Copy link
Member

@abitmore abitmore commented May 2, 2020

Fix duplicate code issue in websocket_client::connect() and
websocket_client::secure_connect(), and other minor issues
Removes unnecessary differences between websocket_server_impl and websocket_tls_server_impl.
@abitmore abitmore added this to the core release 4.1.0 milestone May 2, 2020
and replace an assertion with a check.
This may fix the issues that a websocket server may crash or hang when quitting
These functions were in websocket_server class but not in websocket_tls_server class:
- get_listening_port
- stop_listening
- close
abitmore added a commit to bitshares/bitshares-core that referenced this pull request Jun 20, 2020
@abitmore abitmore marked this pull request as ready for review June 20, 2020 21:26
@abitmore abitmore merged commit 12777b8 into master Jun 22, 2020
abitmore added a commit to bitshares/bitshares-core that referenced this pull request Jun 22, 2020
@abitmore abitmore deleted the ws-refactory branch June 22, 2020 14:53
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

Successfully merging this pull request may close these issues.

1 participant