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

Upgrade to tokio 1.0 and hyper 0.14 #72

Merged
merged 4 commits into from
Jan 4, 2021

Conversation

nshalman
Copy link
Contributor

@nshalman nshalman commented Dec 30, 2020

There are some minor code changes needed to complete the upgrade to tokio 1.0 and hyper 0.14 which I've made here.
Additionally hyper upgrades to bytes 1 and that change seems to be needed here as well.

I fell down this rabbit whole as I was planning to start writing my own service based on dropshot, but haven't written it yet so I don't have any downstream codebases to test against. I got no test failures on my machine, but some were skipped so I figured I'd see what your CI does with this.

Let me know how to rewrite the summary, if you want a squashed branch, etc. or, since I've checked the "Allow edits by maintainers" box, feel free to do with this PR as you wish!

Fixes #60
Duplicate of #66

@nshalman nshalman changed the title Upgrade to tokio 1.0 and hyper 0.14 (#60) Upgrade to tokio 1.0 and hyper 0.14 Dec 30, 2020
Copy link
Collaborator

@ahl ahl left a comment

Choose a reason for hiding this comment

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

This looks good to me. @davepacheco can you merge if you're happy?

@davepacheco
Copy link
Collaborator

Thanks for doing this! I went through the changelogs for Bytes, Tokio, and Hyper. It looks basically fine. I'm not a fan of logging when we fail to set socket options and I'm not sure if "hyper no longer emits log records automatically" affects us. Regardless, unless we're going to switch to something else, moving forward here is the right change. Thanks again!

@davepacheco davepacheco merged commit e4402dc into oxidecomputer:master Jan 4, 2021
@nshalman nshalman mentioned this pull request Jan 4, 2021
@nshalman nshalman deleted the tokio-upgrade branch January 4, 2021 21:10
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.

Upgrade to tokio 0.3
3 participants