Skip to content

Upgrade to mio 0.7 #742

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

Closed
wants to merge 6 commits into from
Closed

Upgrade to mio 0.7 #742

wants to merge 6 commits into from

Conversation

dignifiedquire
Copy link
Member

@dignifiedquire dignifiedquire commented Apr 8, 2020

Compiles, but seems something about handling socket connections has changed that needs further debugging.

Mio returns now mio::net::SocketAddrs, which can not be converted easily to std versions, this needs some more investigation.

Update TCP tests are passing now, still one issue with UDS.

Closes #717

// Deregister the I/O object from the mio instance.
self.poller.deregister(source)?;
self.poller.lock().unwrap().registry().deregister(source)?;
Copy link

Choose a reason for hiding this comment

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

this seems wrong - register/deregister will have to wait until any current poll finishes, to acquire the lock?

Choose a reason for hiding this comment

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

More information on this. Discussion is here.

@dignifiedquire
Copy link
Member Author

closing in favor of #757

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.

Update mio to v0.7
3 participants