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

Replace tokio's TcpStream with async-std #481

Merged

Conversation

b-yap
Copy link
Contributor

@b-yap b-yap commented Jan 24, 2024

As suggested by @bogdanS98, replace tokio's TcpStream with async-std's.

This is to continue from #475

@b-yap b-yap requested a review from a team January 25, 2024 13:09
@b-yap b-yap marked this pull request as ready for review January 25, 2024 13:18
Copy link
Contributor

@gianfra-t gianfra-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good 🎉.

@b-yap b-yap merged commit f88ef24 into connection-issues-investigation Jan 26, 2024
2 checks passed
@b-yap b-yap deleted the connection-issues-investigation-async branch January 26, 2024 05:10
b-yap added a commit that referenced this pull request Jan 26, 2024
* async-std

* works, but still in progress

* working test withouth extra signals

* remove comments and re-add connector drop trait

* cleanup

* fix the failing test about current slot

* fix the failing test about current slot, by connecting to specifically different nodes

* update config files

* use a different account for testing

* fix rustfmt

---------

Co-authored-by: Gianfranco <[email protected]>
b-yap added a commit that referenced this pull request Jan 30, 2024
* adding trace logs to every function call.
adding trace logs for the stream's readiness to read data

* adding trace logs for ready status

* show peer_addr and local_addr

* adding std::net::TcpStream

* convert std::net::TcpStream to tokio

* completely change tokio to std::net

* code cleanup, ready for review

* remove unnecessary features of tokio

* from async to just normal funcs

* testing fixes for test not stopping

* set timeout for tests to 180

* fixes warnings

* Replace tokio's TcpStream with async-std (#481)

* async-std

* works, but still in progress

* working test withouth extra signals

* remove comments and re-add connector drop trait

* cleanup

* fix the failing test about current slot

* fix the failing test about current slot, by connecting to specifically different nodes

* update config files

* use a different account for testing

* fix rustfmt

---------

Co-authored-by: Gianfranco <[email protected]>

---------

Co-authored-by: Gianfranco Tasteri <[email protected]>
Co-authored-by: Gianfranco <[email protected]>
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.

2 participants