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

update connect example #1787

Merged
merged 1 commit into from
Dec 19, 2019
Merged

Conversation

jxs
Copy link
Member

@jxs jxs commented Nov 18, 2019

Motivation

example had a run function which was spawned from main function with a oneshot channel to await it's end, due to #1356.
Since #1356 has been addressed, that is no longed needed

Solution

removed run function and moved it's code into the main function, also removed implementation of a bytes coded in favor of tokio_util::codec::BytesCodec

@carllerche
Copy link
Member

yay! Good to have this fixed. Unfortunately, there is a conflict :( would you be able to update?

@jxs jxs force-pushed the update-connect-example branch 2 times, most recently from e199242 to e073ebb Compare November 20, 2019 21:25
@jxs
Copy link
Member Author

jxs commented Nov 20, 2019

updated!

@LucioFranco LucioFranco merged commit 58b5abd into tokio-rs:master Dec 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.

3 participants