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

Tokio-Tungstenite Async Changes #73

Merged
merged 3 commits into from
Sep 19, 2019

Conversation

dbcfd
Copy link
Contributor

@dbcfd dbcfd commented Sep 12, 2019

Changes required for snapview/tokio-tungstenite#68 which upgrades tokio-tungstenite for async/await.

Changes required for tokio-tungstenite async implementation.
Copy link
Member

@daniel-abramov daniel-abramov left a comment

Choose a reason for hiding this comment

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

Should the stream be necessary Unpin?

@dbcfd
Copy link
Contributor Author

dbcfd commented Sep 12, 2019

As far as I can tell yes, since AsyncReadExt and AsyncWriteExt require unpin. Also required for the compat wrapping https://github.com/snapview/tokio-tungstenite/pull/68/files#diff-eeffc045326f81d4c46c22f225d3df90R61.

Would gladly welcome alternate solutions for some of this.

@dbcfd
Copy link
Contributor Author

dbcfd commented Sep 12, 2019

The unpin changes may not be needed. There might be another issue causing Unpin to not be handled properly. Trying to dig into it more.

@dbcfd
Copy link
Contributor Author

dbcfd commented Sep 12, 2019

@application-developer-DA was able to remove the unpin with some changes. Still need to expose machine though.

@daniel-abramov daniel-abramov merged commit 2b2e663 into snapview:master Sep 19, 2019
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