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

Stabilize upgrade #291

Merged
merged 6 commits into from
Dec 4, 2020
Merged

Stabilize upgrade #291

merged 6 commits into from
Dec 4, 2020

Conversation

yoshuawuyts
Copy link
Member

Proposes to stabilize the upgrade submodule. I've included the changes suggested in #287 (comment), simplifying the internals. One downside of this, however, is that we remove the Clone derive. I'm not sure if this leads to a loss of functionality though, since derives are conditional, and we're now always boxing.

@jbr giving this a test run with your websockets tide patch would be much appreciated. That's what this API was designed for, and it allows us to gage whether this actually works as expected. Thanks!

@Fishrock123
Copy link
Member

If cloning is desirable, we could use dyn-clone.

@Fishrock123
Copy link
Member

To be fair, I don't think that Clone would have worked before anyways unless you had something that wasn't Connection.

Copy link
Member

@jbr jbr left a comment

Choose a reason for hiding this comment

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

response.rs still treats upgrades as unstable

@jbr
Copy link
Member

jbr commented Nov 27, 2020

to check if this branch integrates with the upgrades branch of async-h1, rebuild here: https://github.com/http-rs/async-h1/pull/159/checks?check_run_id=1465867869 — the current failure represents the missing changes in response.rs

@yoshuawuyts
Copy link
Member Author

Annnnnnd https://github.com/http-rs/async-h1/pull/159/checks?check_run_id=1500647266 is passing! -- I think that means we can merge this!

Thanks for the review everyone, and thanks @pepoviola for the patch fix!

Merging!

@yoshuawuyts yoshuawuyts merged commit b133109 into main Dec 4, 2020
@delete-merged-branch delete-merged-branch bot deleted the stabilize-upgrade branch December 4, 2020 19:01
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.

4 participants